frontend/src/components/Search.js

23 lines
778 B
JavaScript
Raw Normal View History

2018-12-05 00:49:33 +02:00
import React from 'react';
2018-12-06 00:32:46 +02:00
class Search extends React.Component {
render() {
return (
<form action="">
<button className="search-button" type='submit'>
2018-12-22 14:36:49 +02:00
<img src={require('../assets/images/search.svg')} alt=""/>
2018-12-06 00:32:46 +02:00
</button>
2018-12-22 14:36:49 +02:00
{/*<div className="search-box">*/}
{/*<input type="text" required/>*/}
{/*<div className="placeholder">*/}
{/*<span className="english-text">Search</span>*/}
{/*<span className="arabic-text">بحث في الأرشيف - </span>*/}
{/*</div>*/}
{/*</div>*/}
2018-12-08 20:32:45 +02:00
<input type="text" className="search-box" name="search-box" placeholder="search the Archive بحث في الأرشيف"/>
2018-12-06 00:32:46 +02:00
</form>
)
}
2018-12-05 00:49:33 +02:00
}
2018-12-06 00:32:46 +02:00
export default (Search);