gatsby-theme-docz
Version:
Gatsby theme created to use Docz
15 lines (12 loc) • 326 B
JavaScript
/** @jsx jsx */
import { jsx } from 'theme-ui'
import * as styles from './styles'
import { Search } from '../Icons'
export const NavSearch = props => {
return (
<div sx={styles.wrapper} data-testid="nav-search">
<Search size={20} sx={styles.icon} />
<input {...props} sx={styles.input} />
</div>
)
}