-
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.
- Loading branch information
Hein Jeong
committed
Jul 7, 2022
1 parent
f54c226
commit c67fa0d
Showing
16 changed files
with
178 additions
and
17 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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,38 @@ | ||
{ | ||
"id": "1234-5678-9010-99", | ||
"componentType": "Flex", | ||
"name": "ComponentWithSlotBinding", | ||
"bindingProperties": { | ||
"mySlot": { | ||
"type": "Amplify.Slot" | ||
} | ||
}, | ||
"children": [ | ||
{ | ||
"children": [ | ||
{ | ||
"children": [], | ||
"componentType": "Text", | ||
"name": "ChildText", | ||
"properties": { | ||
"label": { | ||
"value": "Nested child text" | ||
} | ||
} | ||
} | ||
], | ||
"componentType": "View", | ||
"name": "Rectangle", | ||
"properties": { | ||
"children": { | ||
"bindingProperties": { | ||
"property": "mySlot" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"properties": {}, | ||
"schemaVersion": "1.0" | ||
} | ||
|
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
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
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
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
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
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
38 changes: 38 additions & 0 deletions
38
packages/test-generator/lib/components/property-binding/componentWithSlotBinding.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,38 @@ | ||
{ | ||
"id": "1234-5678-9010-99", | ||
"componentType": "Flex", | ||
"name": "ComponentWithSlotBinding", | ||
"bindingProperties": { | ||
"mySlot": { | ||
"type": "Amplify.Slot" | ||
} | ||
}, | ||
"children": [ | ||
{ | ||
"children": [ | ||
{ | ||
"children": [], | ||
"componentType": "Text", | ||
"name": "ChildText", | ||
"properties": { | ||
"label": { | ||
"value": "Nested child text" | ||
} | ||
} | ||
} | ||
], | ||
"componentType": "View", | ||
"name": "Rectangle", | ||
"properties": { | ||
"children": { | ||
"bindingProperties": { | ||
"property": "mySlot" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"properties": {}, | ||
"schemaVersion": "1.0" | ||
} | ||
|
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