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

17 lines
359 B
TypeScript
Raw Normal View History

2018-08-28 23:28:42 +02:00
import React from 'react'
2018-09-24 22:28:07 +02:00
import { ReactComponent as SearchIcon } from '../../images/magnifying-glass.svg'
2018-08-28 23:28:42 +02:00
import styles from './SearchButton.module.scss'
2019-10-02 13:35:50 +02:00
const SearchButton = (props: any) => (
2018-09-27 21:33:25 +02:00
<button
type="button"
title="Search"
className={styles.searchButton}
{...props}
>
2018-08-28 23:28:42 +02:00
<SearchIcon />
</button>
)
export default SearchButton