Zamok Kiosk API
Preparing search index...
module-core-messages/lib/reducers
toasts
Function toasts
toasts
(
state
?:
ZamokNotification
[]
,
action
:
|
{
payload
:
{
key
:
NotificationKey
;
message
:
ReactNode
;
options
?:
OptionsObject
;
}
;
type
:
"ENQUEUE_SNACKBAR"
;
}
|
PayloadAction
<
"REMOVE_SNACKBAR"
,
NotificationKey
>
,
)
:
ZamokNotification
[]
Parameters
state
:
ZamokNotification
[]
= defaultState
action
:
|
{
payload
:
{
key
:
NotificationKey
;
message
:
ReactNode
;
options
?:
OptionsObject
;
}
;
type
:
"ENQUEUE_SNACKBAR"
;
}
|
PayloadAction
<
"REMOVE_SNACKBAR"
,
NotificationKey
>
Returns
ZamokNotification
[]
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Zamok Kiosk API
Loading...