import classNames from 'clsx' import { FormState } from './FormState' export interface InputProps extends React.ComponentPropsWithRef<'input'> { label: string error?: string className?: string } export const Input: React.FC = (props) => { const { label, name, className, error, ...rest } = props return (
) }