@zjlab-fe/data-hub-ui 0.3.8 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ type ArrayKeys<T extends readonly string[]> = T[number];
2
+ interface IDataTable {
3
+ head: string[];
4
+ data: {
5
+ [k in ArrayKeys<IDataTable['head']>]: string;
6
+ }[];
7
+ containerHeight?: number;
8
+ }
9
+ export default function DataTable(props: IDataTable): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -11,4 +11,4 @@ export declare function splitByLine(str: string, options?: {
11
11
  trim?: boolean;
12
12
  skipEmpty?: boolean;
13
13
  }): string[];
14
- export default function JsonPreview(props: IFilePreviewProps): import("react/jsx-runtime").JSX.Element | null;
14
+ export default function JsonPreview(props: IFilePreviewProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { IFilePreviewProps } from '../interface';
2
+ export default function ParquetPreview(props: IFilePreviewProps): import("react/jsx-runtime").JSX.Element;