mirror of
https://github.com/fspc/workstand.git
synced 2025-04-04 10:03:22 -04:00
19 lines
695 B
JavaScript
19 lines
695 B
JavaScript
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>
|
|
);
|
|
}
|
|
}
|
|
|