callstack / callstack/react-native-paper

Handling accessibility feature boldTextEnabled

Abierto
#4,732 0 comentarios 0 reacciones 0 asignados Ver en GitHub
feature request
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.**
Problem is there is no general way to set text bold from one place. I would have to check `AccessibilityInfo.isBoldTextEnabled()` in a hook. And then call that hook everywhere I use `` -component.

**Describe the solution you'd like**
A simple way to provide this info directly or automatically in `` and it would handle the rest. Make the text bold if it needs to based on the accessibility-feature's state.

**Describe alternatives you've considered**
Making a hook and custom text-component that I wrap Paper Text-component inside. But that is not gonna scale very well.

**Additional context**
-

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.