callstack / callstack/react-native-paper

Add an optional lineSize parameter to the Activity indicator

未关闭
#4,739 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.**
When using the activity indicator in a large size the default line width doesn't look right for my project (and I imagine for most projects it might be the same)

**Describe the solution you'd like**
Added an optional `lineSize` parameter to the component that lets you specify exactly what size you want.

**Describe alternatives you've considered**
There aren't really any other options.

**Additional context**
![Image](https://github.com/user-attachments/assets/dafda1e1-e53c-457c-ad18-74d650e23347)
![Image](https://github.com/user-attachments/assets/f6941b52-2f7c-4404-bddb-47988c19c7f0)

贡献指南

打开贡献指南

调研方向

定位 Activity 指示器组件,并检查其现有的尺寸相关 API 以及附近的使用方式。当可选的 lineSize 参数允许调用方控制线条宽度,同时不改变当前默认行为时,工作即完成;如果组件已有检查或测试,请运行它们。

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

评估

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

把新 issue 发到你的邮箱

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