import { layoutProps } from '../layout-props' import { useFormLayoutOptions } from '../../hooks/use-form-layout' export default { name: 'BasicGridMobile', props: layoutProps, setup (props, { slots, emit }) { const { options, updateConfig, ...handler } = useFormLayoutOptions({ props, emit }) return () =>
{options.value.map( ({ children }, optionIndex) =>
{slots.item({ children, optionIndex, isShow: props.config._isShow, ...handler })}
)}
} }