import React from 'react'; import { type StyleProp, Text, type TextStyle } from 'react-native'; interface Props { text: string; size?: number; color?: string; font?: string; styles?: StyleProp; flex?: number; numberOfLine?: number; } const Label = (props: Props) => { const { text, size, flex, color, font, styles, numberOfLine } = props; return ( {text} ); }; export default Label;