All Versions
55
Latest Version
Avg Release Cycle
16 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v1.0.4 Changes
February 23, 2021
- @tarazena: Export missing SnackbarContent for TypeScript #354
-
v1.0.0 Changes
August 22, 2020
- ⬇️ Drop
SnackbarContent
component andContentProps
props #297 #### 💥 Breaking Changes className
prop is now used to customise styles applied to the content of snackbar (e.g. backgroundColor).💅 If you were using
className
to apply styles toSnackbar
component, you should now do so usingclasses.root
.<SnackbarProvider - className={classes.snackbar} + classes={{ + root: classes.snackbar + }} >
👍
ContentProps
prop is not supported anymore. Here are alternative ways to pass the same data to snackbar component. For any other scenario, you should pass you own custom content.<SnackbarProvider - ContentProps={{ - action: () => <button>dismiss</button>, - 'aria-describedby': 'some-value', - }} + action={() => <button>dismiss</button>} + ariaAttributes={{ + 'aria-describedby': 'some-value' + }} >
💻 If you have customised
MuiSnackbarContent
through Material-UItheme
object, these changes won't automatically reflect within notistack. You can however, useclassName
prop to apply your customisations.
const theme = createMuiTheme({ overrides: { // no effect within notistack MuiSnackbarContent: { root: { fontSize: '1rem', }, }, }, });
- ⬇️ Drop
-
v0.9.17 Changes
June 10, 2020 -
v0.9.16 Changes
May 17, 2020May 17, 2020
- @lukawsk: Allow autoHideDuration be null #273
-
v0.9.15 Changes
May 17, 2020 -
v0.9.14 Changes
May 15, 2020