@janiscommerce/ui-native
Version:
components library for Janis app
17 lines (16 loc) • 511 B
TypeScript
import React from 'react';
import { ToastProps } from '../';
export declare const configToast: {
success: (props: ToastProps) => React.JSX.Element;
notice: (props: ToastProps) => React.JSX.Element;
warning: (props: ToastProps) => React.JSX.Element;
error: (props: ToastProps) => React.JSX.Element;
action: (props: ToastProps) => React.JSX.Element;
};
export declare const defaultIcon: {
success: string;
notice: string;
warning: string;
error: string;
action: string;
};