Refactoring

This commit is contained in:
2019-10-23 11:18:18 -05:00
parent 032d12aee6
commit ce06bc27a8
9 changed files with 134 additions and 129 deletions

View File

@@ -10,7 +10,10 @@ export default props => {
return (
<div className={'DropDown'}>
<select className={'DropDownSelect'} disabled={props.disabled} onChange={props.changed} value={props.selected}>
<select className={'DropDownSelect' + (props.auto ? ' Auto ' : '') + (props.alt ? ' Alt ' : '') }
disabled={props.disabled}
onChange={props.changed}
value={props.selected}>
{options}
</select>
</div>