mirror of https://github.com/kremalicious/blog.git
17 lines
359 B
TypeScript
17 lines
359 B
TypeScript
import React from 'react'
|
|
import { ReactComponent as SearchIcon } from '../../images/magnifying-glass.svg'
|
|
import styles from './SearchButton.module.scss'
|
|
|
|
const SearchButton = (props: any) => (
|
|
<button
|
|
type="button"
|
|
title="Search"
|
|
className={styles.searchButton}
|
|
{...props}
|
|
>
|
|
<SearchIcon />
|
|
</button>
|
|
)
|
|
|
|
export default SearchButton
|