alert-toast-react-native
Version:
## Example Dialog Box
12 lines (11 loc) • 456 B
TypeScript
import * as React from 'react';
import { IConfigDialog, IConfigToast } from '../index';
import { IColors } from '../service';
declare type IProps = {
dialogConfig?: Pick<IConfigDialog, 'closeOnOverlayTap' | 'autoClose'>;
toastConfig?: Pick<IConfigToast, 'autoClose'>;
theme?: 'light' | 'dark';
colors?: [IColors, IColors] /** ['light_colors' , 'dark_colors'] */;
};
declare const Root: React.FunctionComponent<IProps>;
export default Root;