UNPKG

liber-salti

Version:

Saltí - Liber Design System

20 lines (19 loc) 433 B
/// <reference types="react" /> export interface SkeletonProps { /** * Children to infer the size of. */ children?: React.ReactNode; /** * The shape of the skeleton. */ variant?: 'circular' | 'rectangular' | 'text'; /** * The width of the skeleton. */ width?: number | string; /** * The height of the skeleton. */ height?: number | string; }