Refactoring
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user