react-native-paper
react-native-paper copied to clipboard
fix: fab size prop with label
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.
I included size prop for FAB styles with labels. I set exactly the same heights as for FAB without labels.
Hey @Wiktoria-Fogel, thank you for your pull request 🤗. The documentation from this branch can be viewed here.