-
Notifications
You must be signed in to change notification settings - Fork 947
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Angular Gen 2 SDK - Custom Components (#3721)
## Description As per Steve’s feedback, I have made a few changes in the custom component code snippet. I'm creating this mega PR to achieve speed when updating the docs. FYI: Steve doesn't want unnecessary lines of code—styles, in fact. Kapunahele asked me to reduce that, and this PR is more about reducing inline styles unless necessary. This might not look good on the page, but brevity is prioritized here, per Steve. - Removed div to make it clean - Instead of declaring columns as an array, created two columns(1 and 2) of _type_ Blocks - Used <blocks>'s styleProp to pass the custom styles to the component. Loom on my approach: https://www.loom.com/share/6da8f9a0899744cabdbf08d62fa39372?sid=c8ac59fe-bfd6-4f40-8219-2c74859bd4ff I'm happy to refactor. @samijaber Please review :) --------- Authored-by: Uttej Venkata Sastry <[email protected]>
- Loading branch information
Showing
9 changed files
with
117 additions
and
259 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
Oops, something went wrong.