UNPKG

alert-toast-react-native

Version:

## Example Dialog Box

17 lines (16 loc) 717 B
/// <reference types="react" /> import { ALERT_TYPE } from './config/ENV'; import { Root, Dialog, Toast, IConfigDialog, IConfigToast } from './containers'; export { Root, Dialog, Toast, ALERT_TYPE, IConfigDialog, IConfigToast }; declare const _default: { Root: import("react").FunctionComponent<{ dialogConfig?: Pick<IConfigDialog, "closeOnOverlayTap" | "autoClose"> | undefined; toastConfig?: Pick<IConfigToast, "autoClose"> | undefined; theme?: "light" | "dark" | undefined; colors?: [import("./service").IColors, import("./service").IColors] | undefined; }>; Dialog: typeof Dialog; Toast: typeof Toast; ALERT_TYPE: typeof ALERT_TYPE; }; export default _default;