| 1 |
import React from "react"; |
| 2 |
import { IconSearch } from "../../../icons/index"; |
| 3 |
|
| 4 |
const AllDocsSearch = ({setSearchKeyword}) => { |
| 5 |
return ( |
| 6 |
<div className="betterdocs-dashboard-search-wrap"> |
| 7 |
<div className="betterdocs-dashboard-search-form"> |
| 8 |
<button className="betterdocs-dashboard-search-btn"> |
| 9 |
<IconSearch /> |
| 10 |
</button> |
| 11 |
<input |
| 12 |
className="betterdocs-dashboard-search-field" |
| 13 |
type="text" |
| 14 |
placeholder="Search Doc" |
| 15 |
onChange={(e) => { |
| 16 |
setSearchKeyword(e?.target?.value); |
| 17 |
}} |
| 18 |
/> |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
); |
| 22 |
}; |
| 23 |
|
| 24 |
export default AllDocsSearch; |
| 25 |
|