import { FunctionComponent, InputHTMLAttributes } from "react"
import styles from './forms.module.css';
interface TextInputProps extends InputHTMLAttributes {
label?: string
}
export const TextInput: FunctionComponent = ({ label, id, ...props }) => (
{label && }
);
TextInput.defaultProps = {
type: 'text',
}