mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-06 08:16:03 +00:00
19 lines
414 B
TypeScript
19 lines
414 B
TypeScript
import { cn } from "@lib/utils";
|
|
import { Root } from "@radix-ui/react-slot";
|
|
|
|
export function Title1Medium({
|
|
className,
|
|
asChild,
|
|
...props
|
|
}: React.ComponentProps<"h1"> & { asChild?: boolean }) {
|
|
const Comp = asChild ? Root : "h1";
|
|
return (
|
|
<Comp
|
|
className={cn(
|
|
"text-xl sm:text-2xl md:text-3xl lg:text-4xl font-medium leading-[70px] tracking-[-0.8px]",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|