2020-05-22 14:38:19 +02:00
|
|
|
import React, { ReactElement } from 'react'
|
2022-11-11 03:31:54 +01:00
|
|
|
import * as styles from './SearchButton.module.css'
|
2019-11-15 22:10:53 +01:00
|
|
|
import Icon from '../../atoms/Icon'
|
2018-08-28 23:28:42 +02:00
|
|
|
|
2021-03-15 21:01:55 +01:00
|
|
|
const SearchButton = ({ onClick }: { onClick: () => void }): ReactElement => (
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
title="Search"
|
2022-11-11 03:31:54 +01:00
|
|
|
className={styles.searchButton}
|
2021-03-15 21:01:55 +01:00
|
|
|
onClick={onClick}
|
|
|
|
>
|
2019-11-15 22:10:53 +01:00
|
|
|
<Icon name="Search" />
|
2018-08-28 23:28:42 +02:00
|
|
|
</button>
|
|
|
|
)
|
|
|
|
|
|
|
|
export default SearchButton
|