@penaprieto/design-system
Version:
Multi-brand React design system with design tokens from Figma
18 lines • 607 B
TypeScript
import React from 'react';
import './Skeleton.css';
export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
export type SkeletonAnimation = 'pulse' | 'wave' | 'none';
export interface SkeletonProps {
/** Variante del skeleton */
variant?: SkeletonVariant;
/** Tipo de animación */
animation?: SkeletonAnimation;
/** Ancho (CSS value) */
width?: string | number;
/** Alto (CSS value) */
height?: string | number;
/** Clase CSS adicional */
className?: string;
}
export declare const Skeleton: React.FC<SkeletonProps>;
//# sourceMappingURL=Skeleton.d.ts.map