import React from 'react' import { NextSchemaFieldAdaptor, pickFormItemProps } from '@formily/next' import { createVirtualBox } from '@formily/react-schema-renderer' import { Grid } from '@alifd/next' import { RowProps } from '@alifd/next/types/grid' import { ItemProps } from '@alifd/next/types/form' import { IItemProps } from '../types' const { Row } = Grid 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