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, solicitar novos ícones, solicitar novos casos de uso de componentes, tirar dúvidas, enviar sugestões ou reportar bugs, entre em contato pelo nosso canal no Slack #tangram-design-system.