-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tag): introducing custom icon (#7262)
* feat(tag): introducing custom icon * feat(tag): add test * feat(tag): fixed variable name * feat(tag): improving design based on feedback * feat(tag): removed unecessary icon import * feat(tag): added custom icon knob to story * feat(tag): fixed spacing on imports * feat(tag): removed redundant boolean * Update packages/react/src/components/Tag/Tag-test.js Co-authored-by: TJ Egan <tw15egan@gmail.com> * Update packages/react/src/components/Tag/Tag.js Co-authored-by: TJ Egan <tw15egan@gmail.com> * chore(snapshot): update snapshots, run prettier * feat(tag): refactored nested ternary * feat(tag): reformatted conditionals * feat(tag): refactored icon rendering code * feat(tag): ran formatter * feat(tag): removed inner span's ...other options Co-authored-by: TJ Egan <tw15egan@gmail.com> Co-authored-by: Josh Black <josh@josh.black>
- Loading branch information
1 parent
83ecc8d
commit 31e19ca
Showing
7 changed files
with
152 additions
and
46 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
Oops, something went wrong.