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: add cancelButtonTintColor props in ActionSheetIOS for change cancel button tint color #31972

Conversation

numandev1
Copy link
Contributor

Summary

we need to change the text color of the cancel button in ActionSheetIOS but tintColor changes the all button text color except destructiveButtonIndex

so I have added cancelButtonTintColor prop to change only the text color of the cancel button

Changelog

[General] [Changed] - added cancelButtonTintColor prop for ActionSheetIOS to change only the text color of the cancel button

Test Plan

With this PR you can change the cancel text button of ActionSheetIOS by this cancelButtonTintColor prop

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 5, 2021
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 3bc883c

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 9,189,043 -107
android hermes armeabi-v7a 8,714,657 -118
android hermes x86 9,631,069 -103
android hermes x86_64 9,598,650 -119
android jsc arm64-v8a 10,825,428 +52
android jsc armeabi-v7a 9,742,309 +43
android jsc x86 10,862,836 +33
android jsc x86_64 11,471,929 +24

Base commit: 3bc883c

@yungsters yungsters added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 10, 2021
@facebook-github-bot
Copy link
Contributor

@yungsters has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@yungsters merged this pull request in 0185663.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants