UNPKG

its-just-ui

Version:

ITS Just UI - React 18 & React 19 UI component library. 36+ accessible, TypeScript-native components with Tailwind CSS. Zero-config Material UI alternative for SaaS dashboards and enterprise apps.

30 lines (28 loc) 1.07 kB
import { default as React } from 'react'; export type SkeletonVariant = 'default' | 'rounded' | 'circular' | 'text' | 'avatar' | 'button' | 'card'; export type SkeletonSize = 'sm' | 'md' | 'lg' | 'xl'; export type SkeletonAnimation = 'pulse' | 'wave' | 'shimmer' | 'none'; export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> { variant?: SkeletonVariant; size?: SkeletonSize; animation?: SkeletonAnimation; lines?: number; width?: string | number; height?: string | number; radius?: string | number; animationDuration?: number; animationDelay?: number; showContent?: boolean; contentOpacity?: number; backgroundColor?: string; foregroundColor?: string; borderColor?: string; borderWidth?: string; borderStyle?: string; gap?: string | number; padding?: string | number; margin?: string | number; children?: React.ReactNode; } export declare const Skeleton: React.NamedExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>; export default Skeleton;