1
0
Fork 0
blog/src/components/molecules/Search/SearchButton.tsx

17 lines
391 B
TypeScript
Raw Normal View History

2020-05-22 14:38:19 +02:00
import React, { ReactElement } from 'react'
2019-11-15 22:10:53 +01:00
import Icon from '../../atoms/Icon'
2023-01-29 22:58:19 +01:00
import * as styles from './SearchButton.module.css'
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"
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