72 lines
1.6 KiB
TypeScript
72 lines
1.6 KiB
TypeScript
/**
|
|
* UI 组件库导出
|
|
* 统一导出所有 UI 组件
|
|
*/
|
|
|
|
export { Button, buttonVariants, type ButtonProps } from './Button';
|
|
export { Input, inputVariants, type InputProps } from './Input';
|
|
export {
|
|
Card,
|
|
CardHeader,
|
|
CardTitle,
|
|
CardDescription,
|
|
CardContent,
|
|
CardFooter,
|
|
cardVariants,
|
|
type CardProps,
|
|
type CardHeaderProps,
|
|
type CardTitleProps,
|
|
type CardDescriptionProps,
|
|
type CardContentProps,
|
|
type CardFooterProps,
|
|
} from './Card';
|
|
export { Modal, ConfirmModal, type ModalProps, type ConfirmModalProps } from './Modal';
|
|
export {
|
|
Toast,
|
|
ToastContainer,
|
|
toast,
|
|
useToast,
|
|
type ToastProps,
|
|
type ToastContainerProps,
|
|
type ToastType,
|
|
type ToastOptions,
|
|
} from './Toast';
|
|
export {
|
|
Loading,
|
|
PageLoading,
|
|
InlineLoading,
|
|
Skeleton,
|
|
CardSkeleton,
|
|
TableSkeleton,
|
|
type LoadingProps,
|
|
type PageLoadingProps,
|
|
type InlineLoadingProps,
|
|
type SkeletonProps,
|
|
type TableSkeletonProps,
|
|
} from './Loading';
|
|
export {
|
|
Form,
|
|
FormField,
|
|
FormInput,
|
|
FormSelect,
|
|
FormTextarea,
|
|
FormCheckbox,
|
|
FormSubmitButton,
|
|
FormGroup,
|
|
type FormProps,
|
|
type FormFieldProps,
|
|
type FormInputProps,
|
|
type FormSelectProps,
|
|
type FormTextareaProps,
|
|
type FormCheckboxProps,
|
|
type FormSubmitButtonProps,
|
|
type FormGroupProps,
|
|
} from './Form';
|
|
export { Slider } from './Slider';
|
|
export { Select, SelectTrigger, SelectContent, SelectItem, SelectValue } from './Select';
|
|
export { Checkbox } from './Checkbox';
|
|
export { Textarea } from './Textarea';
|
|
export { Tabs, TabsList, TabsTrigger, TabsContent } from './Tabs';
|
|
export { Label } from './Label';
|
|
export { Progress } from './Progress';
|