@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
21 lines (20 loc) • 536 B
TypeScript
import { ComponentProps } from 'react';
type SkeletonProps = ComponentProps<"div"> & {
/**
* Full circle skeleton.
*/
round?: boolean;
};
/**
* Skeleton to indicate the content loading state.
* Useful if you load data partially and want to preserve layout size.
*
*
* @example
* ```tsx
* // Basic usage, width and height classes are necessary
* <Skeleton className="w-12 h-4">
* ```
*/
export declare const Skeleton: ({ className, round, ...props }: SkeletonProps) => import("react").JSX.Element;
export {};