feat: 更新README,添加云开发(cloud-dev)说明;新增Skeleton组件

This commit is contained in:
xiongxiao
2026-03-21 00:42:26 +08:00
committed by cnb
parent 477826dcce
commit 518a3f2864
3 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
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 }