mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 10:23:24 +00:00
10 lines
335 B
TypeScript
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} />;
|
|
};
|