the-tip-top-frontend/components/ui/index.ts
soufiane 467696e5b8 refactor: add more shared utilities and reduce duplication further
- Add utils/export.ts for centralized CSV export functionality
- Add EmptyState component for consistent empty state UI
- Add Pagination component for reusable pagination controls
- Refactor employe/gains-client to use apiFetch and EmptyState
- Refactor employe/historique to use apiFetch and EmptyState
- Export new components from ui/index.ts

Target: reduce duplication from 13.93% to under 3%

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 23:39:01 +01:00

12 lines
582 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 { EmptyState } from './EmptyState';
export { Pagination } from './Pagination';