Interface IIgrSnackbarProps




action?: ((s, e) => void)

Type declaration

actionText?: string

The snackbar action button.

children?: ReactNode
className?: string
displayTime?: string | number

Determines the duration in ms in which the component will be visible.

id?: string
keepOpen?: string | boolean

Determines whether the component should close after the displayTime is over.

open?: string | boolean

Whether the component is in shown state.

position?: string | BaseAlertLikePosition

Sets the position of the component in the viewport.

style?: CSSProperties