chore(ui): shadcn bileşenleri, use-mobile ve ESLint ayarı

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 01:35:10 +03:00
parent 1941b72cc6
commit 4f41c0f668
27 changed files with 2736 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
"use client";
import * as React from "react";
import { cn } from "cn";
import { Label as LabelPrimitive } from "radix-ui";
function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>) {
return (
<LabelPrimitive.Root
data-slot="label"
className={cn(
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
className,
)}
{...props}
/>
);
}
export { Label };