reactjs-toaster
Version:
The React JS Toaster (reactjs-toaster) is lightweight JavaScript/TypeScript based Toast message library for showing Error , Success , Warning and Info message in UI End.
29 lines (28 loc) • 803 B
TypeScript
import { classNameProps, styleProps } from "../types/toastTypes";
declare const useStyleHook: () => {
backgroundColors: {
success: string;
error: string;
warning: string;
info: string;
loading: string;
};
textColors: {
success: string;
error: string;
warning: string;
info: string;
loading: string;
};
progressColors: {
success: string;
error: string;
warning: string;
info: string;
loading: string;
};
style: styleProps;
setStyles: import("react").Dispatch<import("react").SetStateAction<styleProps | undefined>>;
setClassName: import("react").Dispatch<import("react").SetStateAction<classNameProps | undefined>>;
};
export default useStyleHook;