callstack / callstack/react-native-paper
RadioButton custom icon
未关闭
feature request
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
My use case:
I'm using RadioButton.Group for a quiz question. After someone selects an answer, I want to replace the radio part with a green checkmark if they got the answer right, and a red x if they got the answer wrong.
贡献指南
调研方向
首先阅读 RadioButton.Group 和 RadioButton 组件的入口点,以了解单选指示器的渲染方式以及选择状态的传递方式。定义对已选答案支持的自定义图标行为,然后验证组件能够显示所请求的成功和失败状态,同时不改变现有默认值。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100