MCPcopy
hub / github.com/henryboldi/felony / mapDispatchToProps

Function mapDispatchToProps

app/containers/FloatingButtonContainer.js:10–16  ·  view source on GitHub ↗
(dispatch)

Source from the content-addressed store, hash-verified

8}
9
10const mapDispatchToProps = (dispatch) => {
11 return {
12 showComposer: (type) => {
13 dispatch(showComposerWithType(type))
14 },
15 }
16}
17
18const FloatingButtonContainer = connect(
19 mapStateToProps,

Callers

nothing calls this directly

Calls 1

showComposerWithTypeFunction · 0.85

Tested by

no test coverage detected