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.
19 lines
695 B
19 lines
695 B
8 years ago
|
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)}>
|
||
|
<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>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|