callstack / callstack/react-native-paper
Allow custom Image component in Card.Cover
Open
feature request
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
**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**
Contributor guide
Assessment
This issue has not been assessed yet.