@backpackapp-io/react-native-toast
Version:
A toasting library for React Native. Built in features such as swipe to dismiss, multiple toasts, & no context power this library.
21 lines (17 loc) • 414 B
text/typescript
import { toast } from '../core/toast';
export type {
DefaultToastOptions,
IconTheme,
Element,
Toast,
ToasterProps,
ToastOptions,
ToastType,
ValueFunction,
ValueOrFunction,
} from '../core/types';
export { resolveValue } from '../core/types';
export { useToaster } from '../core/use-toaster';
export { useStore as useToasterStore } from '../core/store';
export { toast };
export default toast;