Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding optional wrapper arguments to IconButton #1394

Merged
merged 4 commits into from
Sep 21, 2022

Conversation

jonrohan
Copy link
Member

This adds a wrapper_arguments argument that can be passed to the IconButton to add arguments to the Tooltip conditional wrapper.

I need this for ActionBar to be able to tag the main object and toggle hidden on it. Only toggling the button won't work because we use gap spacing in the component and it will still apply if an empty div is there.

@jonrohan jonrohan requested review from a team and camertron September 20, 2022 23:32
@changeset-bot
Copy link

changeset-bot bot commented Sep 20, 2022

🦋 Changeset detected

Latest commit: a3d3469

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jonrohan jonrohan merged commit 27d8233 into main Sep 21, 2022
@jonrohan jonrohan deleted the icon_button_wrapper_arguments branch September 21, 2022 18:58
@primer-css primer-css mentioned this pull request Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants