react-native-paper
react-native-paper copied to clipboard
feat: add activity indicator to TextInput (#1)
- Add a new TextInput.ActivityIndicator to use with TextInput right and left props --> This will show either the native activity indicator or the RN Paper Activity Indicator, based on the value of the useNativeActivityIndicator prop
Co-authored-by: Brandon Pelton-Cox <>
Motivation
Add support to show either the native activity indicator or the React Native Paper version in TextInput. This was motivated mainly by this open issue.
Related issue
Test plan
I added examples to the example app. Simply checkout this PR, install deps and run yarn example start
and see the pertinent changes in the TextInput
area of the app.
Hey @bpeltonc, thank you for your pull request 🤗. The documentation from this branch can be viewed here.