Files
native-app/apps/mobile/app/components/ui/Text.tsx
Jorrin 89d1310eac help
2024-01-28 21:53:06 +01:00

10 lines
335 B
TypeScript

import { TextProps, Text as RNText } from 'react-native';
import { cn } from '../../lib/utils';
import { cva } from 'class-variance-authority';
const textVariants = cva('font-sans text-white');
export const Text = ({ className, ...props }: TextProps) => {
return <RNText className={cn(textVariants(), className)} {...props} />;
};