feat: add Navigation Rail

未关闭
#4,982 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
react-native, typescript
领域
frontend, mobile

调研方向

先从 Material 3 Navigation Rail 规范开始,然后检查现有的 Drawer,以及 TextInput/TextField、Switch、Checkbox 和 FAB 中的现代化工作。跟踪这些组件如何使用新的 shape、motion、typography 和 color token。完成的标准是由 Navigation Rail 组件替代旧的 Drawer 行为,并使用易于维护的组件专用 token。

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

描述

v6

The goal is to implement the Navigation Rail according to specs, a component replacing the old Drawer.

  • See specs: https://m3.material.io/components/navigation-rail/overview.
  • Reuse newly introduced tokens (shape, motion, typography, color etc)
  • Extract component specific tokens for easier maintenance.
  • Get inspired from TextInput/TextField, Switch, Checkbox, FAB components which have gone through modernization.
主要语言
TypeScript
星标
14.5k
派生
2.3k
平均合并
8 天 7 小时
30 天内合并 PR
5

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstack/react-native-paper 的其他 Issue

查看 callstack/react-native-paper 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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