mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
* Issue-#763: Add search icon * Issue-#763: Remove material-ui icon library * Issue-#763: Remove @material-ui/lab library * Issue-#763: Add custom search box * Issue-#763: Remove Mui list * Issue-#763: Remove Mui usage from SearchClient * Issue-#763: Remove Mui components from SearchResultElement * Issue-#763: Remove material-ui dependency from package.json * Issue-#763: Remove double scroll bar * Issue-#763: Refactor css * Issue-#763: Rename file * Issue-#763: Refactor searchButton style in HeaderHome * Issue-#763: Use simplified search logo * Issue-#763: Refactor search result element * Issue-#763: Refactor box style * Issue-#763: Refactor SerachClient * Issue-#763: Refactor SerachClient and SearchComponent styles * Issue-#763: Refactor SearchComponent.module.scss * Trigger rebuild
17 lines
428 B
JavaScript
17 lines
428 B
JavaScript
import React from 'react'
|
|
import { navigate } from 'gatsby'
|
|
import styles from './SearchComponent.module.scss'
|
|
import { ReactComponent as SearchIcon } from '../../images/search.svg'
|
|
|
|
const SearchButton = () => {
|
|
return (
|
|
<div className={styles.searchButtonWrapper}>
|
|
<SearchIcon
|
|
className={styles.searchButton}
|
|
onClick={() => navigate('/search')}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
export default SearchButton
|