import React from 'react' import { Input } from 'rebass' /*** Number fields with support for min, max and units and documentation*/ class StringField extends React.Component { static propTypes = { onChange: React.PropTypes.func.isRequired, name: React.PropTypes.string.isRequired, value: React.PropTypes.string, default: React.PropTypes.number, doc: React.PropTypes.string, } onChange(e) { return this.props.onChange(e.target.value) } render() { return } } export default StringField