import React from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' import InputButton from './InputButton' export default class InputMultiInput extends React.Component { static propTypes = { name: PropTypes.string.isRequired, value: PropTypes.string.isRequired, options: PropTypes.array.isRequired, onChange: PropTypes.func.isRequired, } render() { let options = this.props.options if(options.length > 0 && !Array.isArray(options[0])) { options = options.map(v => [v, v]) } const selectedValue = this.props.value || options[0][0] const radios = options.map(([val, label])=> { return }) return
} }