callstack / callstack/react-native-paper
Checkbox.IOS & Checkbox.Android container style
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
**Is your feature request related to a problem? Please describe.**
There's no problem encounter about the feature request
**Describe the solution you'd like**
I've look inside the file for the Checkbox component and i've realised there is no props for the container of the components. Most of your component have style to overrides the default style of your theme but some doesnt and i was wondering if it would be possible to pass a props either to Checkbox.IOS, Checkbox.Android or Checkbox.item
As for the checkbox.IOS and checkbox.Android. it could be a simple "style" props like most of them and as for Checkbox.Item it could be something like "checkboxStyle" so we could overrides the borderRadius or the padding used on the component.
The same would apply for the RadioButton if possible
**Describe alternatives you've considered**
i've try to make a custom components to overrides certain aspect of the components like for the IOS is it not obvious that there's a checkbox so i wanted to set a border around it, similar to Android but the padding make it so much bigger than needed. so i came here to ask if there's a possibility to add a props to target the checkbox container that hold the borderRadius and padding.
贡献指南
调研方向
首先找到 issue 中提到的 Checkbox.IOS、Checkbox.Android、Checkbox.Item 和 RadioButton 组件文件,然后阅读它们当前如何定义容器样式。完成的标准是:所请求的容器样式 props 得到一致支持,并且其行为由相关组件测试覆盖。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- design, frontend, mobile
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100