-
Notifications
You must be signed in to change notification settings - Fork 82
feat(link): add icon-placement
option
#1009
base: main
Are you sure you want to change the base?
feat(link): add icon-placement
option
#1009
Conversation
Deploy preview created for Built with commit: e7d8b6a047f44e6981a61f09516c023f1a99c2c4 |
Deploy preview created for Built with commit: e7d8b6a047f44e6981a61f09516c023f1a99c2c4 |
Deploy preview created for Built with commit: e7d8b6a047f44e6981a61f09516c023f1a99c2c4 |
Deploy preview created for Built with commit: e7d8b6a047f44e6981a61f09516c023f1a99c2c4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! If possible can we just move the iconPlacement
knob to just the pairedWithIcon
story
Agree with @ariellalgilmore on the knob update! I noticed that there seems to be some extra padding on the left when the icon is positioned on the left: Not sure if this would cause downstream effects. Also Percy's picking up 72 differences, but it looks like these may just be new pages or Percy's creating this for the first time. Figured I would flag just in case: |
@ariellalgilmore @RichKummer the knob should be on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for fixing @emyarod !
Related Ticket(s)
carbon-design-system/carbon-for-ibm-dotcom#8836
Description
This PR adds support for
icon-placement
in the link component to potentially deprecate thelink-with-icon
dotcom component