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.