mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Linting and add required attribute.
This commit is contained in:
parent
14266c57e6
commit
367e978d31
@ -1,22 +1,22 @@
|
|||||||
|
import MenuItem from 'material-ui/MenuItem';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import SelectField from 'material-ui/SelectField';
|
import SelectField from 'material-ui/SelectField';
|
||||||
import MenuItem from 'material-ui/MenuItem';
|
|
||||||
|
|
||||||
export default class Purpose extends React.Component {
|
export default class Purpose extends React.Component {
|
||||||
render () {
|
render() {
|
||||||
return (
|
return (
|
||||||
<SelectField
|
<SelectField
|
||||||
value={this.props.default}
|
value={this.props.default}
|
||||||
onChange={this.props.handleChange.bind(this)}
|
onChange={this.props.handleChange.bind(this)}
|
||||||
fullWidth={true}
|
fullWidth
|
||||||
tabIndex={this.props.tabIndex}
|
tabIndex={this.props.tabIndex}
|
||||||
>
|
>
|
||||||
<MenuItem value={'VOLUNTEER'} primaryText="Volunteer" />
|
<MenuItem value={'VOLUNTEER'} primaryText="Volunteer" caption={'Volunteer'} />
|
||||||
<MenuItem value={'FIX'} primaryText="Fix" />
|
<MenuItem value={'FIX'} primaryText="Fix" caption={'Fix'} />
|
||||||
<MenuItem value={'WORKSHOP'} primaryText="Workshop" />
|
<MenuItem value={'WORKSHOP'} primaryText="Workshop" caption={'Workshop'} />
|
||||||
<MenuItem value={'DONATE'} primaryText="Donate" />
|
<MenuItem value={'DONATE'} primaryText="Donate" caption={'Donate'} />
|
||||||
<MenuItem value={'STAFF'} primaryText="Staff" />
|
<MenuItem value={'STAFF'} primaryText="Staff" caption={'Staff'} />
|
||||||
</SelectField>
|
</SelectField>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user