analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
14 lines • 549 B
TypeScript
declare const Toaster: () => import("react/jsx-runtime").JSX.Element;
export 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 default Toaster;
//# sourceMappingURL=Toaster.d.ts.map