UNPKG

tdesign-react

Version:
32 lines (31 loc) 1.28 kB
import React, { type MutableRefObject } from 'react'; import { TableClassName } from './hooks/useClassName'; import type { RowMountedParams, VirtualScrollConfig } from '../hooks/useVirtualScroll'; import type { PaginationProps } from '../pagination'; import type { BaseTableProps, RowAndColFixedPosition } from './interface'; import type { TdBaseTableProps } from './type'; export interface TableBodyProps extends BaseTableProps { classPrefix: string; ellipsisOverlayClassName: string; rowAndColFixedPosition?: RowAndColFixedPosition; showColumnShadow?: { left: boolean; right: boolean; }; tableRef?: MutableRefObject<HTMLDivElement>; tableContentRef?: MutableRefObject<HTMLDivElement>; cellEmptyContent: TdBaseTableProps['cellEmptyContent']; tableWidth?: MutableRefObject<number>; isWidthOverflow?: boolean; virtualConfig: VirtualScrollConfig; pagination?: PaginationProps; allTableClasses?: TableClassName; handleRowMounted?: (params: RowMountedParams) => void; } export declare const ROW_AND_TD_LISTENERS: string[]; export declare const extendTableProps: string[]; declare function TBody(props: TableBodyProps): React.JSX.Element; declare namespace TBody { var displayName: string; } export default TBody;