Complete Toaster and Skeleton components, add loading.tsx Update development docs for changes and progress. Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
8 lines
271 B
TypeScript
8 lines
271 B
TypeScript
import * as React from "react"
|
|
import { cn } from "@/lib/utils"
|
|
|
|
export function Skeleton(props: React.HTMLAttributes<HTMLDivElement>) {
|
|
const { className, ...rest } = props
|
|
return <div className={cn("animate-pulse rounded-md bg-muted/40", className)} {...rest} />
|
|
}
|