@gluestack-ui/core
Version:
Universal UI components for React Native, Expo, and Next.js
15 lines • 441 B
JavaScript
import { createContext } from 'react';
export const ToastContext = createContext({
toastInfo: {},
setToastInfo: () => { },
setToast: () => '',
removeToast: () => { },
hideAll: () => { },
isActive: () => false,
visibleToasts: {},
setVisibleToasts: () => { },
hideToast: () => { },
AnimationWrapper: { current: null },
AnimatePresence: { current: null },
});
//# sourceMappingURL=ToastContext.js.map