import { type FC } from "react"; import { StyledText, StyledView } from "../StyledComponents"; import { verticalScale } from "../../helpers/ResponsiveCalculations"; import { useTheme } from "../../hooks"; import type { AvatarTextProps } from "../../types"; const AvatarText: FC = ({ size = 70, fs, text = 'YH', bg, containerStyle, textStyle, }) => { text = text.slice(0, 2).toUpperCase(); const theme: any = useTheme(); return (<> {text} ) } export default AvatarText; export type { AvatarTextProps };