react-native-paper
react-native-paper copied to clipboard
feat(button): add trailing icon support
This PR adds a support for a trailing icon on the button component.
Motivation
The motivation mostly stems from the issue I encountered in #4324. I suppose I'm not the only one that needed an extra icon on their button so this PR adds exactly that.
Related issue
Not necessarily related, but motivated me to open this PR. #4324
Test plan
Import the Button component and add a trailingIcon
prop.
+1