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;