feat(Toggle group): Add support for icon position#10291
feat(Toggle group): Add support for icon position#10291thatblindgeye merged 5 commits intopatternfly:v6from
Conversation
|
Preview: https://patternfly-react-pr-10291.surge.sh A11y report: https://patternfly-react-pr-10291-a11y.surge.sh |
packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx
Outdated
Show resolved
Hide resolved
thatblindgeye
left a comment
There was a problem hiding this comment.
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.
packages/react-core/src/components/ToggleGroup/examples/ToggleGroupTextIcon.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/ToggleGroup/examples/ToggleGroupTextIcon.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/ToggleGroup/ToggleGroupItem.tsx
Outdated
Show resolved
Hide resolved
|
@thatblindgeye oo yeah let's do a followup and I can got ahead and fill out the whole page! |
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #10059