On this page

Important: Unlike any other components, the way to create a snackbar is to use the snackbarManager, which is a function which accepts a snackbar object and some parameters. Check the source code to see how to use it.