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

feat(Toggle group): Add support for icon position #10291

Merged
merged 5 commits into from
Apr 24, 2024

Conversation

tlabaj
Copy link
Contributor

@tlabaj tlabaj commented Apr 19, 2024

What: Closes #10059

@tlabaj tlabaj requested a review from mcoker April 19, 2024 19:51
@tlabaj tlabaj linked an issue Apr 19, 2024 that may be closed by this pull request
@patternfly-build
Copy link
Contributor

patternfly-build commented Apr 19, 2024

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Contributor

@adamviktora adamviktora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few quick changes below.

Not a blocker, but an example description would be good to add in as well. Maybe something like, "When passing both the text and icon properties into a <ToggleGroupItem>, you can also pass in the iconPosition property to determine whether the icon is rendered at the start or end of the item." cc @edonehoo. We could also just open a followup to add descriptions for all ToggleGroup examples since there's not a lot of them, though.

@edonehoo
Copy link
Contributor

edonehoo commented Apr 22, 2024

@thatblindgeye oo yeah let's do a followup and I can got ahead and fill out the whole page!

@thatblindgeye thatblindgeye merged commit 4166486 into patternfly:v6 Apr 24, 2024
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

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.

ToggleGroup - add iconPosition prop
6 participants