blob: 844a5a703212a43e3c3c18b3f86b5c6ef02a9504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import React, { Component } from 'react'
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import * as actions from './faceSearch.actions'
class FaceSearchResult extends Component {
componentDidMount() {
}
render() {
return (
<div className='result'>
Result here
</div>
)
}
}
const mapStateToProps = state => ({
query: state.faceSearch.query,
result: state.faceSearch.result,
options: state.faceSearch.options,
})
const mapDispatchToProps = dispatch => ({
actions: bindActionCreators({ ...actions }, dispatch),
})
export default connect(mapStateToProps, mapDispatchToProps)(FaceSearchResult)
|