UNPKG

analytica-frontend-lib

Version:

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

17 lines 806 B
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; /** Auto-dismiss duration in ms. Pass 0 to disable. Defaults to 3000ms. */ duration?: number; } & HTMLAttributes<HTMLDivElement>; declare const Toast: ({ variant, action, className, onClose, title, description, position, duration, ...props }: ToastProps) => import("react/jsx-runtime").JSX.Element; export default Toast; //# sourceMappingURL=Toast.d.ts.map