feat: add UI components for skeleton, slider, sonner, spinner, switch, table, tabs, textarea, toggle group, toggle, tooltip, and mobile hook
2026-07-23 11:16:34 +07:00
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
|
|
|
|
|
|
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
|
|
|
|
return (
|
|
|
|
|
<div
|
|
|
|
|
data-slot="skeleton"
|
|
|
|
|
className={cn("animate-pulse rounded-md bg-muted", className)}
|
|
|
|
|
{...props}
|
|
|
|
|
/>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export { Skeleton }
|