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) • 541 B
TypeScript
import React from "react";
import "./Ui89Toaster.css";
import "../style/typo.css";
import "../style/theme.css";
import { Ui89Palette, Ui89Theme } from "../theme";
export interface Ui89ToasterOptions {
theme?: Ui89Theme | keyof typeof Ui89Theme | Ui89Palette | keyof typeof Ui89Palette;
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;