import { HTMLAttributes, ReactNode } from 'react'; export interface SnackbarProps extends HTMLAttributes { /** * Sets the avatar src of the component */ avatarSrc?: string; /** * Sets the avatar alt of the component */ avatarAlt?: string; /** * Sets the description of the component */ description?: string; /** * Sets the icon of the component */ icon?: ReactNode; /** * Callback fired when the component requests to be closed */ onClose?: () => void; /** * Sets the position of the component */ position?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'; /** * Sets the state show of the component */ show?: boolean; /** * Sets the text button close of the component */ textClose?: string; /** * Sets the title of the component */ title?: string; /** * Sets the timer of the component */ timer?: number; }