Wagtail client-side components
Preparing search index...
utils/actions
createAction
Function createAction
createAction
<
N
extends
string
,
T
extends
any
[]
,
P
,
M
>
(
type
:
N
,
actionCreator
?:
(
...
args
:
T
)
=>
P
,
metaCreator
?:
(
...
args
:
T
)
=>
M
,
)
:
(
...
args
:
T
)
=>
Action
<
N
,
P
,
M
>
Type Parameters
N
extends
string
T
extends
any
[]
P
M
Parameters
type
:
N
Optional
actionCreator
:
(
...
args
:
T
)
=>
P
Optional
metaCreator
:
(
...
args
:
T
)
=>
M
Returns
(
...
args
:
T
)
=>
Action
<
N
,
P
,
M
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Wagtail client-side components
Loading...