import {FC, FormEventHandler} from 'react' import styled from 'styled-components' import TextInput from '../../../molecules/forms/TextInput' import ActionButton from '../../../molecules/forms/ActionButton' const Form = styled('form')({ display: 'grid', gridTemplateColumns: '1fr auto', gap: '1rem', }) type Props = { onSubmit?: FormEventHandler, action?: string, labels: Record, } const OmnisearchForm: FC = ({ onSubmit, labels, action, }) => { return (
Search ) } export default OmnisearchForm