-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: import custom component from local directory
Retain unofficial support of all primitives
- Loading branch information
Showing
20 changed files
with
981 additions
and
100 deletions.
There are no files selected for viewing
330 changes: 302 additions & 28 deletions
330
.../studio-ui-codegen-react/lib/__tests__/__snapshots__/studio-ui-codegen-react.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/studio-ui-codegen-react/lib/__tests__/studio-ui-json/custom/customChildren.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "1234-5678-9010", | ||
"componentType": "MyView", | ||
"name": "CustomChildren", | ||
"properties": {}, | ||
"children": [{ | ||
"componentType": "CustomButton", | ||
"properties": {} | ||
}] | ||
} |
10 changes: 10 additions & 0 deletions
10
packages/studio-ui-codegen-react/lib/__tests__/studio-ui-json/custom/customParent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "1234-5678-9010", | ||
"componentType": "MyView", | ||
"name": "CustomParent", | ||
"properties": {}, | ||
"children": [{ | ||
"componentType": "Button", | ||
"properties": {} | ||
}] | ||
} |
10 changes: 10 additions & 0 deletions
10
.../studio-ui-codegen-react/lib/__tests__/studio-ui-json/custom/customParentAndChildren.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "1234-5678-9010", | ||
"componentType": "ViewTest", | ||
"name": "CustomParentAndChildren", | ||
"properties": {}, | ||
"children": [{ | ||
"componentType": "CustomButton", | ||
"properties": {} | ||
}] | ||
} |
Oops, something went wrong.