UNPKG

react-native-alert-notification

Version:
15 lines (14 loc) 595 B
import * as React from 'react'; import { ReactElement } from 'react'; import { IConfigToast } from './Toast'; import { IConfigDialog } from './Dialog'; import { IColors } from '../service'; declare type IProps = { dialogConfig?: Pick<IConfigDialog, 'closeOnOverlayTap' | 'autoClose'>; toastConfig?: Pick<IConfigToast, 'autoClose' | 'titleStyle' | 'textBodyStyle'>; theme?: 'light' | 'dark'; colors?: [IColors, IColors] /** ['light_colors' , 'dark_colors'] */; children: ReactElement | ReactElement[]; }; export declare const Root: React.FunctionComponent<IProps>; export {};