callstack / callstack/react-native-paper

Allow custom Image component in Card.Cover

未关闭
#4,869 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

**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**

贡献指南

打开贡献指南

调研方向

首先定位 Card.Cover 的实现以及 issue 中描述的 react-native Image 用法,然后检查相邻组件的 API 约定。当 Card.Cover 能够使用调用方提供的图像组件(包括支持经过身份验证的图像 header 的组件),同时不丢失现有行为时,工作就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
mobile
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。