mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
813 B
22 lines
813 B
import React from 'react';
|
|
import SelectField from 'material-ui/SelectField';
|
|
import MenuItem from 'material-ui/MenuItem';
|
|
|
|
export default class Purpose extends React.Component {
|
|
render () {
|
|
return (
|
|
<SelectField
|
|
value={this.props.default}
|
|
onChange={this.props.handleChange.bind(this)}
|
|
fullWidth={true}
|
|
tabIndex={this.props.tabIndex}
|
|
>
|
|
<MenuItem value={'VOLUNTEER'} primaryText="Volunteer" />
|
|
<MenuItem value={'FIX'} primaryText="Fix" />
|
|
<MenuItem value={'WORKSHOP'} primaryText="Workshop" />
|
|
<MenuItem value={'DONATE'} primaryText="Donate" />
|
|
<MenuItem value={'STAFF'} primaryText="Staff" />
|
|
</SelectField>
|
|
);
|
|
}
|
|
}
|
|
|