@icos-desktop/react-components 0.1.3 → 0.1.5

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.
package/build/index.d.ts CHANGED
@@ -1,9 +1,17 @@
1
- import React, { ReactNode } from 'react';
1
+ import React from 'react';
2
+ import { TreeDataNode } from 'antd';
2
3
 
3
- interface Config {
4
- getAccessToken?: () => string | Promise<string> | void;
4
+ interface EntityInfoProps {
5
+ senseGlobalCode: string;
5
6
  }
6
- declare const configFn: (config: Config) => void;
7
+
8
+ declare const EntityInfo: React.FC<EntityInfoProps>;
9
+
10
+ interface EntityTableProps {
11
+ bookId: string;
12
+ }
13
+
14
+ declare const EntityTable: React.FC<EntityTableProps>;
7
15
 
8
16
  interface CheckInfo {
9
17
  info: {
@@ -25,22 +33,15 @@ interface EntityTreeProps {
25
33
 
26
34
  declare const EntityTree: React.FC<EntityTreeProps>;
27
35
 
28
- interface EntityInfoProps {
29
- senseGlobalCode: string;
30
- }
31
-
32
- declare const EntityInfo: React.FC<EntityInfoProps>;
33
-
34
- interface EntityTableProps {
35
- bookId: string;
36
- }
37
-
38
- declare const EntityTable: React.FC<EntityTableProps>;
39
-
40
36
  interface RegionTreeProps {
41
- children?: ReactNode;
37
+ onClick?: (node: TreeDataNode) => void;
42
38
  }
43
39
 
44
40
  declare const RegionTree: React.FC<RegionTreeProps>;
45
41
 
42
+ interface Config {
43
+ getAccessToken?: () => string | Promise<string> | void;
44
+ }
45
+ declare const configFn: (config: Config) => void;
46
+
46
47
  export { EntityInfo, EntityTable, EntityTree, RegionTree, configFn as config };