Const
Styled snackbar component
StyledSnackbar
A customized snackbar container with:
Material-UI Snackbar props
Material-UI theme object
<StyledSnackbar open={open} autoHideDuration={6000} onClose={handleClose} anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}> <StyledSnackbarAlert severity="success"> Action completed successfully! </StyledSnackbarAlert></StyledSnackbar> Copy
<StyledSnackbar open={open} autoHideDuration={6000} onClose={handleClose} anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}> <StyledSnackbarAlert severity="success"> Action completed successfully! </StyledSnackbarAlert></StyledSnackbar>
Styled snackbar component