callstack / callstack/react-native-paper

Is it possible to control the borderRadius of animatedFAB?

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

描述

### Ask your Question
Is it possible to control the borderRadius of animatedFAB? I had a look at the source code and saw hardcoding:
```
const borderRadius = SIZE / (isV3 ? 3.5 : 2);

```

贡献指南

打开贡献指南

调研方向

首先找到 animatedFAB 的实现,以及 issue 中所示的硬编码 borderRadius 计算。检查项目其他位置如何处理 Animated FAB 的尺寸和自定义,然后确定相关的组件测试。完成的标准是:能够控制 borderRadius,同时不破坏现有的默认值。

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

评估

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

把新 issue 发到你的邮箱

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