(props)
| 11 | export const enhance = (ComposedComponent) => { |
| 12 | class FormItem extends Component { |
| 13 | constructor (props) { |
| 14 | super(props); |
| 15 | |
| 16 | this.state = { |
| 17 | hasError: false, |
| 18 | value: getValue(props) |
| 19 | }; |
| 20 | |
| 21 | this.valueType = getValueType(props.type); |
| 22 | this.handleChange = this.handleChange.bind(this); |
| 23 | } |
| 24 | |
| 25 | componentWillMount () { |
| 26 | const { itemBind } = this.props; |
nothing calls this directly
no test coverage detected