@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
10 lines (9 loc) • 446 B
TypeScript
import * as React from 'react';
import { LiteralUnion } from '../../types';
import { BoxProps } from '../Box';
export declare type SkeletonVariants = 'text' | 'circle' | 'square';
export interface SkeletonProps extends BoxProps {
/** Variant style of the skeleton. */
variant?: LiteralUnion<SkeletonVariants>;
}
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;