@gluestack-ui-nightly/core
Version:
Universal UI components for React Native, Expo, and Next.js
14 lines • 657 B
TypeScript
import type { IToastComponentType } from './types';
export declare const createToastHook: (AnimationWrapper: any, AnimatePresence: any) => () => {
show: (props: import("./types").IToastProps) => string;
close: (id: string) => void;
closeAll: () => void;
isActive: (id: string) => boolean;
};
export declare function createToast<Root, Title, Description>({ Root, Title, Description, }: {
Root: React.ComponentType<Root>;
Title: React.ComponentType<Title>;
Description: React.ComponentType<Description>;
}): IToastComponentType<Root, Title, Description>;
export { ToastProvider } from './Toast';
//# sourceMappingURL=index.d.ts.map