MCPcopy Create free account
hub / github.com/WebDevSimplified/course-platform / SkeletonButton

Function SkeletonButton

src/components/Skeleton.tsx:5–17  ·  view source on GitHub ↗
({ className }: { className?: string })

Source from the content-addressed store, hash-verified

3import { ReactNode } from "react"
4
5export function SkeletonButton({ className }: { className?: string }) {
6 return (
7 <div
8 className={cn(
9 buttonVariants({
10 variant: "secondary",
11 className: "pointer-events-none animate-pulse w-24",
12 }),
13 className
14 )}
15 />
16 )
17}
18
19export function SkeletonArray({
20 amount,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected