From e42b09d3776c024a284bf5913347df25dc627825 Mon Sep 17 00:00:00 2001 From: philawsophizing Date: Tue, 6 Jun 2017 11:41:15 +0300 Subject: [PATCH] Add search button component ref #22 --- src/components/search_button.jsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/components/search_button.jsx diff --git a/src/components/search_button.jsx b/src/components/search_button.jsx new file mode 100644 index 0000000..24d7d39 --- /dev/null +++ b/src/components/search_button.jsx @@ -0,0 +1,12 @@ +import React from 'react'; + +const SearchButton = (props) => { + const handle = () => { + props.clickHandler(props.currentGHouse); + }; + + return ( + + ); +}; +export default SearchButton;