@start-base/start-ui
Version:
<p align="center"> <a href="https://startbase.dev" target="_blank"> <img src="https://startbase.dev/apple-touch-icon.png" width="60px" style="padding-top: 60px" /> </a> </p>
22 lines (18 loc) • 607 B
TypeScript
import React, { ReactNode, CSSProperties, Key } from 'react';
import { TableProps as TableProps$1, ColumnType } from 'rc-table';
interface DataItem {
key?: Key;
[key: string]: unknown;
}
interface TableProps extends TableProps$1 {
data?: DataItem[];
columns: ColumnType<DataItem>[];
rowClassName?: string | ((record: any) => string);
emptyText?: ReactNode;
summary?: (data: readonly DataItem[]) => ReactNode;
style?: CSSProperties;
virtualized?: boolean;
border?: boolean;
}
declare const Table: React.FC<TableProps>;
export { type TableProps, Table as default };