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

fix: fab size prop with label

Open Wiktoria-Fogel opened this issue 6 months ago • 1 comments

FAB size prop doesn't work if label is provided.

Resolves issue #4793

If I add FAB only with the icon and size props, the button displays correctly and works with small, medium, and large sizes. After adding the label prop, the size prop does not work, and the height of the button is always the same. Screenshot 2025-09-10 at 23 10 10

I included size prop for FAB styles with labels. I set exactly the same heights as for FAB without labels. Screenshot 2025-09-10 at 23 10 20

Wiktoria-Fogel avatar Sep 10 '25 21:09 Wiktoria-Fogel

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

callstack-bot avatar Sep 10 '25 21:09 callstack-bot