Interface: SnackbarController
Controller to display snackbars
Properties​
close()​
close: () =>
void
Close the currently open snackbar
Returns​
void
Defined in​
packages/firecms_core/src/hooks/useSnackbarController.tsx:19
open()​
open: (
props
) =>void
Display a new snackbar. You need to specify the type and message. You can optionally specify a title
Parameters​
• props
• props.autoHideDuration?: number
• props.message: ReactNode
• props.type: SnackbarMessageType
Returns​
void
Defined in​
packages/firecms_core/src/hooks/useSnackbarController.tsx:25