import React from 'react' import styles from './styles.module.css' export default function Input({_label, error, hint, type, name, value, onChange, onBlur, isValid}){ const label = _label || name.replace(name[0], name[0].toUpperCase()) return (
{hint && {error || (isValid ? '' : hint)}}
) }