moved files outside of /app

This commit is contained in:
Jorrin
2024-02-05 21:03:26 +01:00
parent eeb0b921dc
commit eef7565106
12 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
import type { TextProps } from "react-native";
import { Text as RNText } from "react-native";
import { cva } from "class-variance-authority";
import { cn } from "~/lib/utils";
const textVariants = cva("text-white");
export function Text({ className, ...props }: TextProps) {
return (
<RNText
className={cn(className, textVariants(), {
"font-sans": !className?.includes("font-"),
})}
{...props}
/>
);
}