UNPKG

@antdp/edit-table

Version:

基于antd封装的组件

16 lines (15 loc) 692 B
import React from 'react'; import { useStore } from './Store'; export { default as Store } from "./Store"; import { ColumnsProps, EditableTableProps, RefEditTableProps } from './interface'; import { EditableCellItem } from './Td'; export type { ColumnsProps, EditableTableProps, RefEditTableProps }; declare const InitEditTable: React.ForwardRefExoticComponent<EditableTableProps & React.RefAttributes<RefEditTableProps>>; type EditTableType = typeof InitEditTable; interface EditorTableProps extends EditTableType { /** form 存储表单 hook */ useStore: typeof useStore; Item: typeof EditableCellItem; } declare const EditorTable: EditorTableProps; export default EditorTable;