Function
SkeletonButton
({ className }: { className?: string })
Source from the content-addressed store, hash-verified
| 3 | import { ReactNode } from "react" |
| 4 | |
| 5 | export 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 | |
| 19 | export function SkeletonArray({ |
| 20 | amount, |
Callers
nothing calls this directly
Tested by
no test coverage detected