Optional
ContentOptional
anchorThe anchor of the Snackbar
. The horizontal alignment is ignored.
{ vertical: 'bottom', horizontal: 'left' }
Optional
autoThe number of milliseconds to wait before automatically calling onClose()
undefined
Optional
classAdditional css classes to help with unique styling of the snackbar, external
Optional
id?: stringOptional unique identifier
Optional
isIf true, the component is shown
false
Optional
onOptional, used to control the open prop event: Event | SyntheticEvent<Element, Event>, reason: string
Props applied to the
SnackbarContent
element.