TextInput component's right prop should accept any React.ReactNode content
#2,866 opened on Aug 20, 2021
Repository metrics
- Stars
- (11,550 stars)
- PR merge metrics
- (Avg merge 8d 12h) (10 merged PRs in 30d)
Description
Is your feature request related to a problem? Please describe.
I want to be able to show an ActivityIndicator as the right prop for the TextInput to show loading states.
Describe the solution you'd like
The TextInput component's right prop should accept any React.ReactNode content and render it on the right side of the input.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context This is what I would expect the final result to look like
react-native: 0.65.1 react-native-paper: 4.9.2 react-native-vector-icons: 8.1.0
repro: snack example