Salta ai contenuti

SnackbarController

Questi contenuti non sono ancora disponibili nella tua lingua.

@firecms/core


@firecms/core / SnackbarController

Defined in: hooks/useSnackbarController.tsx:14

Controller to display snackbars

close: () => void

Defined in: hooks/useSnackbarController.tsx:19

Close the currently open snackbar

void


open: (props) => void

Defined in: hooks/useSnackbarController.tsx:25

Display a new snackbar. You need to specify the type and message. You can optionally specify a title

number

ReactNode

SnackbarMessageType

void