UNPKG

@uiw/react-table

Version:
27 lines (26 loc) 745 B
import React from 'react'; import { LocationWidth, TableColumns, TableProps } from './'; import './style/index.less'; interface TableTrProps<T> { rowKey?: keyof T; header: TableColumns<T>[][]; data: T[]; keys: TableProps['columns']; render: { [key: string]: any; }; ellipsis?: Record<string, boolean>; prefixCls: string; onCell: TableProps['onCell']; isExpandedDom: (record: T, index: number) => false | JSX.Element; indentSize: number; hierarchy: number; childrenColumnName: string; locationWidth: { [key: string]: LocationWidth; }; } export default function TableTr<T extends { [key: string]: any; }>(props: TableTrProps<T>): React.JSX.Element | null; export {};