UNPKG

es-grid-template

Version:

es-grid-template

19 lines (18 loc) 855 B
import React from 'react'; import 'dayjs/locale/es'; import 'dayjs/locale/vi'; import type { AnyObject, TableProps } from "../type"; import type { ColumnsTable } from "../type"; import type { GetRowKey } from "../type"; type Props<RecordType> = TableProps<RecordType> & { tableRef: any; triggerChangeColumns?: (columns: ColumnsTable<RecordType>, type: string) => void; triggerChangeData?: (newData: RecordType[], type: string) => void; triggerPaste?: (pastedRows: RecordType[], pastedColumnsArray: string[], newData: RecordType[]) => void; getRowKey: GetRowKey<RecordType>; triggerGroupColumns?: (groupedColumns: string[]) => void; setTooltipContent?: any; scrollHeight?: number; }; declare const GridEdit: <RecordType extends AnyObject = AnyObject>(props: Props<RecordType>) => React.JSX.Element; export default GridEdit;