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.
irremovable
icon
action
children
Feedback
Para reportar algum problema ou sugerir alterações, use nosso formulário de melhorias ou, se preferir, abra uma issue no nosso Github.