Created
December 1, 2020 07:03
-
-
Save sagar-gavhane/f4f54a52f1bf04e8bf42255dabaf3123 to your computer and use it in GitHub Desktop.
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
[ | |
{ | |
"type":"Component", | |
"id":"ImageAndText", | |
"label":"Image and Text", | |
"internal":false, | |
"isGlobal":false, | |
"allowNestedComponents":true, | |
"description":"Image and Text Row", | |
"attributes":{ | |
"image":{ | |
"type":"Image", | |
"label":"Image", | |
"url":{ | |
"type":"String", | |
"label":"URL", | |
"default":"" | |
}, | |
"altText":{ | |
"type":"String", | |
"label":"Alt text", | |
"default":"" | |
} | |
}, | |
"title":{ | |
"type":"StringType", | |
"label":"Title", | |
"default":"" | |
}, | |
"description":{ | |
"type":"String", | |
"label":"Description", | |
"default":"" | |
}, | |
"ctaText":{ | |
"type":"InvalidStringType", | |
"label":"Button text", | |
"default":"" | |
}, | |
"ctaLink":{ | |
"type":"String", | |
"label":"Button link", | |
"default":"" | |
}, | |
"boxes":{ | |
"type":"Array", | |
"label":"box", | |
"default":[ | |
], | |
"allowNestedComponents":true, | |
"children":{ | |
"type":"Shape", | |
"default":{ | |
}, | |
"children":{ | |
"title":{ | |
"type":"String", | |
"label":"box title", | |
"default":"box" | |
} | |
} | |
} | |
}, | |
"buttons":{ | |
"label":"my button", | |
"type":"Array", | |
"default":{ | |
}, | |
"allowNestedComponents":false, | |
"children":{ | |
"type":"Shape", | |
"default":{ | |
}, | |
"children":{ | |
"buttonTitle":{ | |
"type":"String", | |
"label":"box title", | |
"default":"" | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"type":"Component", | |
"id":"RichText", | |
"label":"Rich Text Editor", | |
"internal":false, | |
"isGlobal":false, | |
"allowNestedComponents":false, | |
"attributes":{ | |
"rich":{ | |
"type":"RichText", | |
"label":"Rich text", | |
"default":"" | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment