content: import React from 'react';
  import PropTypes from 'prop-types';
  import {Input, Form} from 'antd';
  const FormItem = Form.Item;
  
  const FormInput = (props) => (
    <FormItem label={props.label}>
      {props.getFieldDecorator(props.name)(
        <Input placeholder={props.label} size="default"/>
      )}
    </FormItem>
  )
  
  FormInput.propTypes = {
    getFieldDecorator: PropTypes.func.isRequired,
    label: PropTypes.string.isRequired,
    name: PropTypes.string.isRequired,
  }
  
  export default FormInput;
  