feat:init
This commit is contained in:
1 parent
53d0eeac6b
commit
ae0c050010
494 files changed
+17701
-2318
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// 全局 toast 对象(推荐使用)
|
||||
export { toast } from "./ToastManager";
|
||||
|
||||
// Toast 组件
|
||||
export { Toast } from "./Toast";
|
||||
|
||||
// Hook(向后兼容,推荐直接使用 toast 对象)
|
||||
export { useToast } from "./useToast";
|
||||
|
||||
// 类型导出
|
||||
export type {
|
||||
ToastType,
|
||||
ToastPosition,
|
||||
ToastOptions,
|
||||
ToastInstance,
|
||||
} from "./types";
|
||||
|
||||
// 废弃的 Provider(保留以保持向后兼容,但不推荐使用)
|
||||
export { ToastProvider, useToastContext } from "./ToastProvider";
|
||||
Reference in new issue
Block a user