callstack / callstack/react-native-paper

Allow custom Image component in Card.Cover

Aperta
#4,869 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
14.5k
Fork
2.2k
Merge medio
5g 23h
PR unite (30g)
12

Descrizione

**Is your feature request related to a problem? Please describe.**
The Image component from react-native has issues with passing headers, the headers are necessary when images require authentication.

**Describe the solution you'd like**
A possible fix is to allow the user to provide a custom image component to use e.g: Image from expo-image

**Describe alternatives you've considered**
I don't see alternatives other than defining my own Card.Cover by copying the code and adding expo-image instead react-native's one.

**Additional context**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.