import React from 'react'; import { Text } from 'react-native'; import { responsiveFontSize } from '../../helpers/ResponsiveCalculations'; import { useTheme } from '../../hooks'; import type { StyledTextProps } from '../../types'; const StyledText: React.FC = ({ variant = 'h5', children, style, ff, fs, tas, fw, color, themeColor, primary, secondary, ...props }) => { const { colors, typography: { variantSizes } }: any = useTheme(); return ( {children} ); }; export default StyledText; export type { StyledTextProps };