@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
14 lines (13 loc) • 617 B
TypeScript
import { default as React } from 'react';
export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
variant?: "text" | "circular" | "rectangular";
width?: number | string;
height?: number | string;
/** For variant="text": number of stacked lines (last one is shorter). */
lines?: number;
/** Disable the pulse animation. */
animated?: boolean;
/** Applied to each individual line when variant="text" and lines > 1. */
lineClassName?: string;
}
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;