react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
15 lines (14 loc) • 494 B
TypeScript
import React from "react";
import "./Ui89Toaster.css";
import "../style/typo.css";
import "../style/chosen-theme.css";
import { Ui89Theme } from "../theme";
export interface Ui89ToasterOptions {
theme?: Ui89Theme | keyof typeof Ui89Theme;
autoClose?: boolean;
duration?: number;
}
export declare function useUi89Toaster(): {
toast(content: React.ReactNode, options?: Ui89ToasterOptions): import("react-toastify").Id;
};
export declare function Ui89Toaster(): React.JSX.Element;