import type { HTMLAttributes } from 'react'; import type { SxProp } from '../Layout/sx.js'; export type SkeletonShape = 'text' | 'title' | 'avatar' | 'button' | 'circle' | 'rect'; export interface SkeletonProps extends HTMLAttributes { shape?: SkeletonShape; width?: number | string; height?: number | string; /** `shape="text"` only: render a paragraph of this many lines (last one shorter). */ lines?: number; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; }