import { Platform } from 'react-native'; import { cva, type VariantProps } from 'class-variance-authority'; export const textStyle = cva( [ 'text-content-primary', Platform.select({ web: 'font-body my-0 bg-transparent no-underline', default: '', }), ], { variants: { size: { xl: 'body-xl', lg: 'body-lg', md: 'body-md', sm: 'body-sm', xs: 'body-xs', }, }, }, ); export type TextVariantProps = VariantProps;