react-simple-toasts
Version:
Instant, lightweight toast notifications for React. No providers or containers needed.
29 lines (28 loc) • 969 B
TypeScript
export declare const SET_TIMEOUT_MAX = 2147483647;
export declare const ToastPosition: {
readonly BOTTOM_LEFT: "bottom-left";
readonly BOTTOM_CENTER: "bottom-center";
readonly BOTTOM_RIGHT: "bottom-right";
readonly TOP_LEFT: "top-left";
readonly TOP_CENTER: "top-center";
readonly TOP_RIGHT: "top-right";
readonly CENTER: "center";
};
export declare const Themes: {
readonly DARK: "dark";
readonly DARK_EDGE: "dark-edge";
readonly LIGHT: "light";
readonly LIGHT_EDGE: "light-edge";
readonly PINK_DAWN: "pink-dawn";
readonly CHROMA: "chroma";
readonly BLUE_DUSK: "blue-dusk";
readonly OCEAN_WAVE: "ocean-wave";
readonly SUNSET: "sunset";
readonly MOONLIGHT: "moonlight";
readonly FROSTED_GLASS: "frosted-glass";
readonly SUCCESS: "success";
readonly INFO: "info";
readonly WARNING: "warning";
readonly FAILURE: "failure";
readonly PLAIN: "plain";
};