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

This commit is contained in:
DevRunbook release export
2026-09-03 04:09:17 +02:00
commit cfd2804e27
928 changed files with 161642 additions and 0 deletions
+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"
/>
)
}