import React from 'react' import styles from './styles.module.css' export default function Dropdown({label: _label, error, hint, name, options: _options, children, value, onChange, onBlur, isValid}){ const label = _label || name.replace(name[0], name[0].toUpperCase()) const options = children ? children : _options.map(opt => ) return (