import React from 'react'; import clsx from 'clsx'; export interface SkeletonProps { className?: string; variant?: 'text' | 'rect' | 'circle'; width?: string; height?: string; } export function Skeleton({ className, variant = 'rect', width, height }: SkeletonProps) { const variantClass = { text: 'rounded', rect: 'rounded-md', circle: 'rounded-full', }; return (
); } export function SkeletonText({ lines = 3, className }: { lines?: number; className?: string }) { return (