the-tip-top-frontend/components/ui/index.ts
soufiane 4d46456ada refactor: reduce code duplication by using reusable components
- Delete duplicate page-new.tsx in verification folder
- Create reusable StatCard component in components/ui
- Enhance StatusBadge component with icons and REJECTED status
- Refactor 7 files to use StatusBadge instead of local getStatusBadge
- Refactor Statistics.tsx to use shared StatCard component
- Reduces overall code duplication from 9.85% to lower

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 16:50:05 +01:00

13 lines
621 B
TypeScript

export { Input } from './Input';
export { Modal } from './Modal';
export { Card, CardHeader, CardTitle, CardContent, CardFooter } from './Card';
export { Loading } from './Loading';
export { Badge } from './Badge';
export { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from './Table';
export { LoadingState } from './LoadingState';
export { ErrorState } from './ErrorState';
export { StatusBadge, getRoleBadgeColor, getTicketStatusColor, getStatusColor } from './StatusBadge';
export { StatCard } from './StatCard';
export { EmptyState } from './EmptyState';
export { Pagination } from './Pagination';