Files
react/components/table/index.ts
witt e8a7a17d56 feat: export all types related to components (#562)
* feat: export all types related to components

fix(tooltip): fix the vertical offset of the arrow

* refactor: optimize events of all popup related components

* test: append testcases for popup base component

* test: add testcase for visible events

* test: update snapshots
2021-06-23 23:05:59 +08:00

25 lines
553 B
TypeScript

import Table from './table'
import TableColumn from './table-column'
export type TableComponentType = typeof Table & {
Column: typeof TableColumn
}
;(Table as TableComponentType).Column = TableColumn
export type {
TableProps,
TableOnRow,
TableOnChange,
TableOnCell,
TableDataSource,
} from './table'
export type { TableColumnProps } from './table-column'
export type {
TableOperation,
TableCellActions,
TableCellActionRemove,
TableCellActionUpdate,
TableCellData,
} from './table-cell'
export default Table as TableComponentType