callstack / callstack/react-native-paper

TextInput component's right prop should accept any React.ReactNode content

Abierto
#2,866 10 comentarios 1 reacción 0 asignados Ver en GitHub
enhancement Hacktoberfest Stale TextInput
Lenguaje dominante
TypeScript
Estrellas
14.5k
Forks
2.2k
Merge medio
5 d 23 h
PR fusionados (30 d)
12

Descripción

**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
Screen Shot 2021-08-20 at 8 44 39 AM

react-native: 0.65.1
react-native-paper: 4.9.2
react-native-vector-icons: 8.1.0

repro: [snack example](https://snack.expo.dev/q_-DRFxH_)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start at the TextInput component's `right` prop and use the linked Snack example to reproduce the requested loading-state case. Confirm that an ActivityIndicator can be supplied as `right` and appears on the input's right side; the payload does not name a source file or test to run.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, react-native, typescript
Área
frontend, mobile
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.