import * as React from 'react'; import formHoc from '../hoc'; import { IFormComponentProps } from '../types'; function FormWrapper(props: IFormComponentProps) { return props.children; } export default formHoc(FormWrapper); // export default function FormWrapper(props: Omit, 'path'>) { // let className = 'm-form-item-wrapper'; // if (props.className) { // className += ` ${props.className}`; // } // return ( // // {contextValue => ( // // {props.children} // // )} // // ); // }