analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
17 lines (14 loc) • 570 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
declare const Toaster: () => react_jsx_runtime.JSX.Element;
declare const useToast: () => {
addToast: (toast: Omit<{
id: string;
title: string;
description?: string;
variant?: "solid" | "outlined";
action?: "warning" | "success" | "info";
position?: "default" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
}, "id">) => void;
removeToast: (id: string) => void;
};
export { Toaster as default, useToast };