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

fix : Button contentStyle is not correct #4326 #4355

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Jayanthidhanabalan
Copy link

Motivation

Button contentStyle prop was handling icons style when icon is added in the right/left of the Text. When the icon is added on top of the text, iconStyle has to be added for handling the alignment issue.

Related issue

#4326

Test plan

Test Screenshot of the Button with Image on Top Text is shared below,

Button Text : "Image On Top"
Simulator Screenshot - iPhone 15 Pro - 2024-03-23 at 18 48 28

I have tested this locally, and it works as expected.

@callstack-bot
Copy link

callstack-bot commented Mar 23, 2024

Hey @Jayanthidhanabalan, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

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.

None yet

2 participants