callstack / callstack/react-native-paper

new prop for List.Accordion to optionally expand upwards instead of downwards

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

描述

**Is your feature request related to a problem? Please describe.**
List.Accordion always expands downwards. It would be great to have a second option which is 'upwards'

**Describe the solution you'd like**
Introduce a new prop such as expandDirection = 'downwards' (default) | 'upwards'

**Describe alternatives you've considered**
none

**Additional context**
none

贡献指南

打开贡献指南

调研方向

首先定位 List.Accordion 的实现及其现有的组件测试,然后跟踪展开目前如何确定布局方向。完成的标准是:组件接受请求的方向选项,默认保持向下展开,支持向上展开,并覆盖这两种行为。

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

评估

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

把新 issue 发到你的邮箱

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