callstack / callstack/react-native-paper
List.Accordion border radius
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
### Ask your Question
Is it possible to have borderRadius on List.Accordion? Currently it has rigid corners and I want them to be rounded.

```
selectPostCategoryIcon(props, selectedPostCategory)
}
onPress={(e: GestureResponderEvent) =>
handlePostDropdownPress(selectedPostCategory)
}
expanded={postDropdownExpanded}
titleStyle={{ fontSize: 22 }}
style={{ borderRadius: 100 }}
>
{postCategories.map((item, index) =>
item !== selectedPostCategory ? (
handlePostDropdownPress(item)
}
titleStyle={{ fontSize: 16 }}
left={(props) => selectPostCategoryIcon(props, item)}
style={{ backgroundColor: "white" }}
/>
) : undefined
)}
```
贡献指南
调研方向
首先检查 List.Accordion 的入口点以及现有 style prop 的应用方式。验证所报告的生硬边角,然后让 borderRadius 对 accordion 生效,并在相关组件行为或视觉测试中确认圆角外观。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- design, frontend, mobile
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100