import React from 'react' import { AntdSchemaFieldAdaptor, pickFormItemProps } from '@formily/antd' import { createVirtualBox } from '@formily/react-schema-renderer' import { Row } from 'antd' import { RowProps } from 'antd/lib/grid' import { FormItemProps as ItemProps } from 'antd/lib/form' import { IItemProps } from '../types' export const FormGridRow = createVirtualBox( 'grid-row', props => { const { title, label } = props const grids = {props.children} if (title || label) { return ( {grids} ) } return grids } ) export default FormGridRow