import { memo, Fragment } from 'react' import { Empty, Form } from 'antd' import { Grid, GridItem } from '../../components/Grid' import '../../styles/index.css' import '../../styles/measure.css' const colsCount = 3 export const View = memo(({ columns, item }) => !item || !columns?.length ? ( ) : ( {columns.map((column, i) => ( {column.title} {column.render ? ( {column.render(item[column.dataIndex])} ) : (

{item[column.dataIndex]}

)}
))}
))