react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

fix : Button contentStyle is not correct #4326

Open Jayanthidhanabalan opened this issue 1 year ago • 1 comments
trafficstars

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

https://github.com/callstack/react-native-paper/issues/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.

Jayanthidhanabalan avatar Mar 23 '24 13:03 Jayanthidhanabalan

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

callstack-bot avatar Mar 23 '24 13:03 callstack-bot