lorehub
Version:
Capture and surface the collective wisdom of your codebase
13 lines • 409 B
TypeScript
import React from 'react';
type Scalar = string | number | boolean | null | undefined;
type ScalarDict = {
[key: string]: Scalar;
};
interface TableProps<T extends ScalarDict> {
data: T[];
columns?: (keyof T)[];
padding?: number;
}
export declare function Table<T extends ScalarDict>({ data, columns, padding }: TableProps<T>): React.JSX.Element;
export {};
//# sourceMappingURL=Table.d.ts.map