Skip to main content

SnackbarContextProps

This is where all the default settings of your snackbars are done, in the root of the provider as props.

PropDescriptionValues
exhibitionOptionsDefault configurations related to the snackbars exhibitionExhibitionManagerOptions
positionHow the snackbars'container is positioned on the screenContainerPosition
sxCustom stylesobject(container: CSSProperties)
customModesCustom snackbar props for a mode (like success, error, etc)object("new-mode": props)

ContainerPosition

Where the snackbars'container is located on the screen

PropDescriptionValuesPlatform
verticalWhere the snackbars' container is positioned vertically'bottom' or 'top'
horizontalWhere the snackbars' container is positioned horizontally'left', 'center' or 'right'web only
marginThe snackbars' container marginnumber