UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

18 lines (15 loc) 714 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { HTMLAttributes } from 'react'; type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'default'; type ToastProps = { title: string; description?: string; onClose: () => void; /** Visual variant of the badge */ variant?: 'solid' | 'outlined'; /** Action type of the badge */ action?: 'warning' | 'success' | 'info'; position?: ToastPosition; } & HTMLAttributes<HTMLDivElement>; declare const Toast: ({ variant, action, className, onClose, title, description, position, ...props }: ToastProps) => react_jsx_runtime.JSX.Element; export { Toast as default };