react-chatbotify
Version:
A modern React library for creating flexible and extensible chatbots.
15 lines • 464 B
TypeScript
import "./ToastPrompt.css";
/**
* Provides toast message prompt with information.
*
* @param id id of the toast
* @param content content of the toast
* @param timeout timeout in milliseconds (optional) for removing toast
*/
declare const Toast: ({ id, content, timeout, }: {
id: string;
content: string | JSX.Element;
timeout?: number;
}) => import("react/jsx-runtime").JSX.Element;
export default Toast;
//# sourceMappingURL=ToastPrompt.d.ts.map