Snackbar
Importβ
import { Snackbar } from '@resultadosdigitais/tangram-components'
Propertiesβ
message
β
title
β
kind
β
show
ποΈβ
Concerns | ποΈ Deprecated: - Use `hide` property instead. |
---|---|
Type | bool |
Default | true |
Descriptionβ
Sets when the Snackbar
will be shown or not.
hide
β
onClose
β
Type | func |
---|---|
Default | () => {} |
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when the Snackbar is closed.
dismissible
ποΈβ
Concerns | ποΈ Deprecated: - Use `irremovable` property instead. |
---|---|
Type | bool |
Default | true |
Descriptionβ
Sets if the Snackbar
is dismissible making available a button that when clicked closes the snackbar.