@teambit/component-tree 0.0.371 → 0.0.372
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.
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { ComponentModel } from '@teambit/component';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
export declare type ComponentTreeNodeProps = {
|
|
4
|
+
/**
|
|
5
|
+
* component model.
|
|
6
|
+
*/
|
|
4
7
|
component: ComponentModel;
|
|
5
8
|
};
|
|
6
9
|
export declare type ComponentTreeNode = {
|
|
10
|
+
/**
|
|
11
|
+
* component to render inside the tree node.
|
|
12
|
+
*/
|
|
7
13
|
widget: ComponentType<ComponentTreeNodeProps>;
|
|
8
14
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.372",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/component/component-tree",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component-tree",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.372"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.2.11",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@types/node": "12.20.4"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@teambit/legacy": "1.0.
|
|
25
|
+
"@teambit/legacy": "1.0.172",
|
|
26
26
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
27
27
|
"react": "^16.8.0 || ^17.0.0"
|
|
28
28
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react": "-"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@teambit/legacy": "1.0.
|
|
53
|
+
"@teambit/legacy": "1.0.172",
|
|
54
54
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
55
55
|
"react": "^16.8.0 || ^17.0.0"
|
|
56
56
|
}
|
package/tsconfig.json
CHANGED
|
Binary file
|