import { SimpleTableOutputType } from "@koh/common" ; import { Table } from "antd" ; import React , { ReactElement } from "react" ; interface SimpleTableTypes { output : SimpleTableOutputType ; } export const SimpleTable = ( { output } ) : ReactElement => { return ( < > < Table dataSource = { output . dataSource } columns = { output . columns } scroll = { { y : 1500 } } pagination = { { pageSize : 6 , simple : true } } /> < />); } ;