UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

9 lines (8 loc) 327 B
import React from "react"; import { NotificationProps } from "./Notification"; export type ToastProps = NotificationProps; /** * Displays a `Notification` with a pre-set `timeout` setting. */ declare function Toast({ children, className, timeout, ...otherProps }: NotificationProps): React.JSX.Element; export default Toast;