import React, { Component} from 'react'; import { View, StyleSheet, Text } from 'react-native'; export default class ComponentA extends Component { render() { return ( Fejrész ); } } const styles = StyleSheet.create({ container: { padding: 20, backgroundColor: 'orange', alignItems: 'center', justifyContent: 'center', width: '100%' }, });