UNPKG
common-package
Version:
latest (1.9.1)
1.9.1
1.4.2
1.4.1
1.4.0
1.3.55
1.3.6
1.3.2
1.3.1
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.94
1.1.93
1.1.92
1.1.91
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.487
1.0.486
1.0.485
1.0.484
1.0.483
1.0.482
1.0.481
1.0.456
1.0.48
1.0.47
1.0.46
1.0.45
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Common package
github.com/beraiarezo/common
beraiarezo/common
common-package
/
app
/
helpers
/
index.js
7 lines
(5 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ createAction
as
ActionCreator
}
from
'redux-actions'
export
const
createAction
= (
type
, payloadCreator, metaCreator
) => {
const
action =
ActionCreator
(
type
,
() =>
payloadCreator,
() =>
metaCreator)
return
action
() }