mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-12 14:05:08 +10:00
5cd16a62d9
* refactor to @base-ui/react * fix all * fixes to accordion * more updates * switch to chat/completions api from openai * update version to v5.0.12
18 lines
489 B
TypeScript
18 lines
489 B
TypeScript
import type * as React from "react";
|
|
import { cn } from "@/utils/style";
|
|
|
|
function Label({ className, ...props }: React.ComponentProps<"label">) {
|
|
return (
|
|
<label
|
|
data-slot="label"
|
|
className={cn(
|
|
"flex select-none items-center gap-2 font-medium text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50",
|
|
className,
|
|
)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Label };
|