mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 13:23:24 +00:00
help
This commit is contained in:
9
apps/mobile/app/components/ui/Text.tsx
Normal file
9
apps/mobile/app/components/ui/Text.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
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} />;
|
||||
};
|
Reference in New Issue
Block a user