@harvest-profit/npk
Version:
NPK UI Design System
31 lines • 772 B
TypeScript
import React from "react";
interface TableProps {
[key: string]: any;
layout?: 'auto' | 'fixed';
truncate?: boolean;
height?: string | number;
minHeight?: string | number;
maxHeight?: string | number;
}
interface TDProps {
[key: string]: any;
truncate?: boolean;
type?: 'number';
}
interface LoadingProps {
[key: string]: any;
rows?: number;
columns?: number;
}
interface MetricsProps {
[key: string]: any;
}
type TableType = React.FC<TableProps> & {
Td: React.FC<TDProps>;
Loading: React.FC<LoadingProps>;
Metrics: React.FC<MetricsProps>;
};
declare const Table: TableType;
export default Table;
export type { TableType, TableProps, TDProps, LoadingProps, MetricsProps };
//# sourceMappingURL=Table.d.ts.map