Skip to content

fix(segmented-buttons): use a custom icon for the selected check - #5322

Open
pcbeingused333 wants to merge 1 commit into
callstack:mainfrom
pcbeingused333:fix/react-native-paper-4296
Open

pcbeingused333 wants to merge 1 commit into
callstack:mainfrom
pcbeingused333:fix/react-native-paper-4296

Conversation

@pcbeingused333

Copy link
Copy Markdown

showSelectedCheck always drew the check glyph, so a selected segment could not use another icon. The button now takes checkedIcon and still uses check when that prop is omitted.

Prepared with the help of an AI coding assistant.

Fixes #4296

showSelectedCheck always drew the check glyph. A button can now pass
checkedIcon, which still defaults to check.

Fixes callstack#4296
@github-actions

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

This branch has not been deployed

No deployments
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.

SegmentedButtons Checked Icon not support to customize

1 participant