2026-08-07 16:11:33 +07:00
|
|
|
"use client"
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
|
2026-08-07 16:11:33 +07:00
|
|
|
import * as React from "react"
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
|
2026-08-07 16:11:33 +07:00
|
|
|
import { cn } from "@/lib/utils"
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
|
2026-08-07 16:11:33 +07:00
|
|
|
function Label({ className, ...props }: React.ComponentProps<"label">) {
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
return (
|
2026-08-07 16:11:33 +07:00
|
|
|
<label
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
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",
|
2026-08-07 16:11:33 +07:00
|
|
|
className
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
)}
|
|
|
|
|
{...props}
|
|
|
|
|
/>
|
2026-08-07 16:11:33 +07:00
|
|
|
)
|
feat: add UI components including Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip, and custom hook for mobile detection
2026-07-26 14:45:47 +07:00
|
|
|
}
|
|
|
|
|
|
2026-08-07 16:11:33 +07:00
|
|
|
export { Label }
|