callstack / callstack/react-native-paper

feat: rich `Tooltip` type

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

描述

**Is your feature request related to a problem? Please describe.**

According to the Material Design documentation there is new type for `Tooltip` component, called `rich`.

* Rich tooltips provide more details, like describing the value of a feature
* Rich tooltips can include an optional title, link, and buttons

https://m3.material.io/components/tooltips/overview

**Describe the solution you'd like**

* Follow component anatomy from: https://m3.material.io/components/tooltips/guidelines

* Create all possible variants:

image

**Additional context**

Should be available in both MD generations.

贡献指南

打开贡献指南

调研方向

从现有的 Tooltip 组件开始,将其当前的 API 和变体与 issue 中链接的 Material Design 概览和组件结构指南进行比较。为两个 Material Design 版本定义 issue 中展示的 rich-tooltip 变体,包括可选的标题、链接和按钮;当所有请求的变体都能在两个版本中使用时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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