diff --git a/src/components/inputs/IconInput.jsx b/src/components/inputs/IconInput.jsx new file mode 100644 index 0000000..3f43937 --- /dev/null +++ b/src/components/inputs/IconInput.jsx @@ -0,0 +1,29 @@ +import React from 'react' +import AutocompleteInput from './AutocompleteInput' +import input from '../../config/input.js' +import { margins } from '../../config/scales.js' + + +class IconInput extends React.Component { + static propTypes = { + value: React.PropTypes.array.isRequired, + icons: React.PropTypes.array, + style: React.PropTypes.object, + onChange: React.PropTypes.func.isRequired, + } + + static defaultProps = { + icons: [] + } + + render() { + return [f, f])} + onChange={this.props.onChange} + wrapperStyle={this.props.style} + /> + } +} + +export default IconInput