@janiscommerce/ui-native
Version:
components library for Janis app
17 lines (16 loc) • 475 B
TypeScript
import { FC } from 'react';
import { TextStyle } from 'react-native';
import { BaseToastProps } from '../../atoms/BaseToast';
export interface ToastProps extends BaseToastProps {
props?: {
showIcon?: boolean;
customIcon?: string;
showCloseIcon?: boolean;
actionTitle?: string;
onCloseCb?: () => void;
actionCb?: () => void;
iconStyle?: TextStyle;
};
}
declare const Toast: FC<ToastProps>;
export default Toast;