Improvements to system console and DM modal (#2930)

Fixing audit and compliance table

Changing prop

Minor improvement to the DM modal
Этот коммит содержится в:
Asaad Mahmood
2016-05-09 20:57:51 +05:00
коммит произвёл Corey Hulen
родитель 64b6d8cde5
Коммит 12cc9def7b
7 изменённых файлов: 61 добавлений и 26 удалений

Просмотреть файл

@@ -20,7 +20,10 @@ export default class DropdownSetting extends React.Component {
}
return (
<Setting label={this.props.label}>
<Setting
label={this.props.label}
margin={this.props.margin}
>
<select
className='form-control'
value={this.props.currentValue}
@@ -43,5 +46,6 @@ DropdownSetting.propTypes = {
currentValue: React.PropTypes.string.isRequired,
handleChange: React.PropTypes.func.isRequired,
isDisabled: React.PropTypes.bool.isRequired,
helpText: React.PropTypes.node.isRequired
helpText: React.PropTypes.node.isRequired,
margin: React.PropTypes.oneOf(['', 'small'])
};