@arashaltafi/react-toast
Version:
react toast library
30 lines (29 loc) • 711 B
TypeScript
declare const _default: {
title: string;
component: (text: string, color: "success" | "error", pauseOnHover?: boolean, timeWait?: number) => void;
argTypes: {
text: {
control: string;
};
color: {
control: string;
options: string[];
};
pauseOnHover: {
control: string;
};
timeWait: {
control: string;
};
successIcon: {
control: string;
};
errorIcon: {
control: string;
};
};
};
export default _default;
export declare const Default: any;
export declare const ErrorToast: any;
export declare const SuccessToast: any;