We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dc038 commit c7e8df8Copy full SHA for c7e8df8
src/components/MdSnackbar/MdSnackbarQueue.js
@@ -33,12 +33,12 @@ export const destroySnackbar = () => {
33
})
34
}
35
36
-export const createSnackbar = (duration, context) => {
+export const createSnackbar = (duration, persistent, context) => {
37
if (currentSnackbar) {
38
return destroySnackbar().then(() => {
39
- return createPromise(duration, context)
+ return createPromise(duration, persistent, context)
40
41
42
43
44
0 commit comments