summaryrefslogtreecommitdiff
path: root/client/faceSearch/faceSearch.result.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/faceSearch/faceSearch.result.js')
-rw-r--r--client/faceSearch/faceSearch.result.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/client/faceSearch/faceSearch.result.js b/client/faceSearch/faceSearch.result.js
new file mode 100644
index 00000000..844a5a70
--- /dev/null
+++ b/client/faceSearch/faceSearch.result.js
@@ -0,0 +1,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)