fix #4 create the search component.

This commit is contained in:
Ahmed-Ayman 2018-12-06 00:32:46 +02:00
parent a3ed5426c5
commit da380dff81

View File

@ -1,11 +1,17 @@
import React from 'react';
class Search extends React.Component{
render(){
return(
<form action="" method="POST">
</form>
)
class Search extends React.Component {
render() {
return (
<form action="">
<button className="search-button" type='submit'>
<img src={require('../assets/images/search.png')} alt=""/>
</button>
<input type="text" className="search-box" name="search-box" placeholder="بحث في الأرشيف search the Archive"/>
</form>
)
}
}
}
export default (Search);
export default (Search);