@gluestack-ui-nightly/core
Version:
Universal UI components for React Native, Expo, and Next.js
12 lines • 450 B
TypeScript
import React from 'react';
import type { IToastProps } from './types';
export declare const ToastProvider: ({ children }: {
children: any;
}) => React.JSX.Element;
export declare const getToastHook: (StyledAnimationWrapper: any, StyledAnimatePresence: any) => () => {
show: (props: IToastProps) => string;
close: (id: string) => void;
closeAll: () => void;
isActive: (id: string) => boolean;
};
//# sourceMappingURL=Toast.d.ts.map