83 lines
1.4 KiB
TypeScript
83 lines
1.4 KiB
TypeScript
// Components
|
|
export { default as FormSidebar } from './components/FormSidebar/FormSidebar';
|
|
export { default as DataTable } from './components/DataTable/DataTable';
|
|
|
|
// Types
|
|
export * from './types';
|
|
|
|
// Hooks
|
|
export { useApiService } from './hooks/useApiService';
|
|
export { useDataFilter } from './hooks/useDataFilter';
|
|
|
|
// Utils
|
|
export * from './utils/notifications';
|
|
export * from './utils/validation';
|
|
|
|
// Re-export common Mantine components and utilities for consistency
|
|
export {
|
|
// Core components that are commonly used
|
|
Paper,
|
|
Stack,
|
|
Group,
|
|
Button,
|
|
TextInput,
|
|
Select,
|
|
MultiSelect,
|
|
NumberInput,
|
|
Textarea,
|
|
JsonInput,
|
|
ActionIcon,
|
|
Menu,
|
|
Text,
|
|
Title,
|
|
Badge,
|
|
Table,
|
|
Pagination,
|
|
LoadingOverlay,
|
|
Center,
|
|
Box,
|
|
ScrollArea,
|
|
Divider,
|
|
|
|
|
|
} from '@mantine/core';
|
|
|
|
// Re-export common hooks
|
|
export {
|
|
useDisclosure,
|
|
useToggle,
|
|
useLocalStorage,
|
|
} from '@mantine/hooks';
|
|
|
|
// Re-export form utilities
|
|
export { useForm } from '@mantine/form';
|
|
|
|
// Re-export notifications
|
|
export { notifications } from '@mantine/notifications';
|
|
|
|
// Re-export modals
|
|
export { modals } from '@mantine/modals';
|
|
|
|
// Re-export common icons
|
|
export {
|
|
IconPlus,
|
|
IconEdit,
|
|
IconTrash,
|
|
IconSearch,
|
|
IconFilter,
|
|
IconRefresh,
|
|
IconX,
|
|
IconDots,
|
|
IconChevronDown,
|
|
IconChevronRight,
|
|
IconUser,
|
|
IconUsers,
|
|
IconKey,
|
|
IconSettings,
|
|
IconEye,
|
|
IconEyeOff,
|
|
IconCopy,
|
|
IconCheck,
|
|
IconAlertCircle,
|
|
IconInfoCircle,
|
|
} from '@tabler/icons-react'; |