Publish DevRunbook source
Managed validation / full (push) Successful in 3m18s

This commit is contained in:
DevRunbook release export committed 2026-09-03 04:09:17 +02:00
commit cfd2804e27
928 files changed
+161642

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
import type { HTMLAttributes } from 'react'
import { classNames } from '../lib/class-names'
export interface SkeletonProps extends HTMLAttributes<HTMLSpanElement> {
readonly shape?: 'text' | 'rectangle' | 'circle'
}
export function Skeleton({
shape = 'text',
className,
...props
}: SkeletonProps) {
return (
<span
className={classNames(
'drb-skeleton',
`drb-skeleton--${shape}`,
className,
)}
{...props}
aria-hidden="true"
/>
)
}