mirror of
https://github.com/fspc/workstand.git
synced 2026-09-17 09:01:39 -04:00
* Add build sign-in option. * Test can signin in with build. * Add build option.
26 lines
746 B
React
26 lines
746 B
React
import React, { PropTypes } from 'react';
|
|
import MenuItem from 'material-ui/MenuItem';
|
|
import SelectField from 'material-ui/SelectField';
|
|
|
|
const Purpose = ({ initialValue, handleChange }) => (
|
|
<SelectField
|
|
value={initialValue}
|
|
onChange={handleChange}
|
|
fullWidth
|
|
>
|
|
<MenuItem value={'VOLUNTEER'} primaryText="Volunteer" />
|
|
<MenuItem value={'FIX'} primaryText="Fix" />
|
|
<MenuItem value={'BUILD'} primaryText="Build" />
|
|
<MenuItem value={'WORKSHOP'} primaryText="Workshop" />
|
|
<MenuItem value={'DONATE'} primaryText="Donate" />
|
|
<MenuItem value={'STAFF'} primaryText="Staff" />
|
|
</SelectField>
|
|
);
|
|
|
|
Purpose.propTypes = {
|
|
initialValue: PropTypes.string,
|
|
handleChange: PropTypes.func,
|
|
};
|
|
|
|
export default Purpose;
|