blob: 9ca0d65e9c8d49e8466e810b228cece6978b816d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { cn } from "@lib/utils";
import { Root } from "@radix-ui/react-slot";
export function Label3Regular({
className,
asChild,
...props
}: React.ComponentProps<"p"> & { asChild?: boolean }) {
const Comp = asChild ? Root : "p";
return (
<Comp
className={cn(
"text-[0.125rem] sm:text-[0.25rem] md:text-[0.375rem] lg:text-[0.5rem] font-normal leading-[16px] tracking-[-0.2px] text-muted-foreground",
className,
)}
{...props}
/>
);
}
|