callstack / callstack/react-native-paper
Add a Dropdown Component
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
Description:
I would like to propose adding a Dropdown component to React Native Paper. Currently, React Native Paper provides several UI components like buttons, cards, and text inputs, but there is no dedicated dropdown component. A dropdown is a widely used component in mobile UIs, ideal for allowing users to select from a list of options in a compact form.
Motivation:
Common UI Need: Dropdowns are a standard UI pattern, and adding this feature will help developers save time by avoiding the need for custom implementations.
Consistency with Other UI Libraries: Many other libraries provide a dropdown component, and having one in React Native Paper will offer a more complete set of UI elements.
Enhanced User Experience: Dropdowns can simplify forms by allowing users to make selections from a list of options without cluttering the screen.
Benefits:
Consistency: A dropdown would align with other components in React Native Paper and enhance the overall library.
Time-Saving: Developers can implement dropdowns quickly without having to build custom solutions.
Customization: Allows developers to create flexible and customizable dropdowns suited to their specific needs.
贡献指南
调研方向
该 issue 未指定文件或测试;首先检查 React Native Paper 中现有的按钮、卡片和文本输入,以确保一致性。在实现之前,定义下拉菜单的 API、选择行为、平台预期和自定义要求;当这些要求达成一致且组件支持所述用例时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- frontend, mobile
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100