@zjlab-fe/data-hub-ui 0.5.6 → 0.5.8
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.
|
@@ -9,8 +9,10 @@ export interface IFilePreviewProps {
|
|
|
9
9
|
header: string[];
|
|
10
10
|
/** 行数据 */
|
|
11
11
|
rows: string[][];
|
|
12
|
-
/**
|
|
12
|
+
/** 数据总行数,如果传入,内部会判断`rows.length`和`rowCount`的大小,决定是否展示预览提示信息(请下载查看完整内容) */
|
|
13
13
|
rowCount?: number;
|
|
14
|
+
/** 单元格内容最多显示多少行,默认固定显示2行,超出显示省略号 */
|
|
15
|
+
maxLines?: number;
|
|
14
16
|
};
|
|
15
17
|
/**
|
|
16
18
|
* 已有数据,展示成JSON
|