-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(octicons_react): add support for className, use presentation…
…al attributes over inline styles (#1037) * Concat className with default * join space * update snap * tests * Refactor className concatenation method * Set default value for className variable * Update snapshot size in tree-shaking test * Move to logical properties and deprecate verticalAlign * Fix verticalAlign style property formatting * test: update snapshots, add support for style * chore: update snapshots * chore: add changeset --------- Co-authored-by: Katie Langerman <[email protected]> Co-authored-by: Josh Black <[email protected]>
- Loading branch information
1 parent
4819803
commit 7402e69
Showing
6 changed files
with
15 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/octicons': minor | ||
--- | ||
|
||
Update octicons-react to use presentational attributes over inline styles for base styles |
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