import { PropType } from 'vue' import { VxeUI } from '../../ui' import { tableProps } from '../../table/src/props' import type { VxeGridPropTypes } from '../../../types' const { getConfig } = VxeUI export const gridProps = { ...tableProps, layouts: Array as PropType, columns: Array as PropType>, pagerConfig: Object as PropType, proxyConfig: Object as PropType>, toolbarConfig: Object as PropType, formConfig: Object as PropType, zoomConfig: Object as PropType, size: { type: String as PropType, default: () => getConfig().grid.size || getConfig().size } }