import { Component } from 'react'; import * as React from 'react'; import omit from 'lodash-es/omit'; import { Input, InputType } from 'zent'; import getControlGroup from '../getControlGroup'; import unknownProps from '../unknownProps'; export interface IFormInputWrapProps { type?: InputType; } class InputWrap extends Component { render() { const { type = 'text', ...rest } = this.props; const passableProps = omit(rest, unknownProps); return ; } } const InputField = getControlGroup(InputWrap); export default InputField;