import type { FC, ReactNode } from 'react' import React from 'react' import type { ButtonProps } from 'theme-ui' import { Button } from 'theme-ui' import { useSearchBarContext } from './hooks/useSearchBarContext' type Props = Omit & { icon?: ReactNode } const MagGlass = () => ( ) const SearchBarButton: FC = ({ variant, icon, ...forward }) => { const { onSearch, syncTerm } = useSearchBarContext() return ( ) } export default SearchBarButton