1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00

removing custom input as its causes compliation errors

This commit is contained in:
Alex Windett 2017-01-23 16:44:56 +00:00
parent ba350e70e4
commit 05c04a15a1

View File

@ -4,7 +4,7 @@ const React = require('react');
const Row = require('@ui/components/row'); const Row = require('@ui/components/row');
const Column = require('@ui/components/column'); const Column = require('@ui/components/column');
const Button = require('@ui/components/button'); const Button = require('@ui/components/button');
const SelectCustom = require('@ui/components/select-custom'); // const SelectCustom = require('@ui/components/select-custom');
const Invite = (props) => { const Invite = (props) => {
@ -14,10 +14,10 @@ const Invite = (props) => {
// platformMembers // platformMembers
} = props; } = props;
const InputStyle = { // const InputStyle = {
float: 'left', // float: 'left',
width: '75%' // width: '75%'
}; // };
const AddButtonStyle = { const AddButtonStyle = {
float: 'right', float: 'right',
@ -28,32 +28,32 @@ const Invite = (props) => {
display: 'inline-block' display: 'inline-block'
}; };
const selectData = [ // const selectData = [
{ // {
value: 'one', // value: 'one',
label: 'One' // label: 'One'
}, // },
{ // {
value: 'two', // value: 'two',
label: 'Two' // label: 'Two'
}, // },
{ // {
value: 'three', // value: 'three',
label: 'Three' // label: 'Three'
}, // },
{ // {
value: 'four', // value: 'four',
label: 'Four' // label: 'Four'
}, // },
{ // {
value: 'five', // value: 'five',
label: 'Five' // label: 'Five'
}, // },
{ // {
value: 'six', // value: 'six',
label: 'Six' // label: 'Six'
} // }
]; // ];
return ( return (
<Row> <Row>
@ -63,13 +63,14 @@ const Invite = (props) => {
<Row> <Row>
<Column xs={12}> <Column xs={12}>
<SelectCustom {/*TODO: Fix why there are issues with webpack and nodemodules*/}
multi {/*<SelectCustom*/}
onChange={function noop() {}} {/*multi*/}
options={selectData} {/*onChange={function noop() {}}*/}
placeholder="Enter an email address or password" {/*options={selectData}*/}
style={InputStyle} {/*placeholder="Enter an email address or password"*/}
/> {/*style={InputStyle}*/}
{/*/>*/}
<Button <Button
secondary secondary
style={AddButtonStyle} style={AddButtonStyle}