Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add activity indicator to TextInput (#1) #4375

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bpeltonc
Copy link

  • 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.

- 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 <>
@callstack-bot
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants