fix #4 create the search component.
This commit is contained in:
parent
a3ed5426c5
commit
da380dff81
|
@ -1,11 +1,17 @@
|
||||||
import React from 'react';
|
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);
|
Loading…
Reference in New Issue
Block a user