No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Snackbar

Snackar

open snackbar
NameDescriptionDefault
type
Snackbar's type
SnackbarType
standard
message*
Snackbar's message content
string
-
numberOfLines
How many message lines to be shown before clipping
number
2
open*
Whether the Snackbar is open
boolean
-
buttonText
Snackbar's button text content when available
string
-
autoHideDuration
Snackbar's shown duration.
number
5000
onClose
Callback when Snackbar is closed. The 'open' prop needs to be updated when this is called
() => void
-
theme
DefaultTheme
-

Stories

Standard

open standard snackbar

Info

open info snackbar

Warning

open warning snackbar

Error

open error snackbar

Success

open success snackbar

Multiline

open multiline snackbar

Multiline With Button

open multiline snackbar with button