react-native-toast-message
Version:
Toast message component for React Native
12 lines (11 loc) • 435 B
TypeScript
/// <reference types="react" />
import { ToastConfig, ToastData, ToastHideParams, ToastOptions, ToastShowParams } from './types';
export declare type ToastUIProps = {
isVisible: boolean;
options: Required<ToastOptions>;
data: ToastData;
show: (params: ToastShowParams) => void;
hide: (params: ToastHideParams) => void;
config?: ToastConfig;
};
export declare function ToastUI(props: ToastUIProps): JSX.Element;