ant-design / ant-design/x

[Good First Issue] Actions 支持自定义每个操作项的 Tooltip

Open
#1,952 0 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
4.8k
Forks
1.2k
Avg merge
3d 3h
Merged PRs (30d)
2

Description

> 🎓 OSS26 轻训营 · 个人认领题(Good First Issue)
> 关联原始 issue:#1834

### 背景
Actions 操作项的 Tooltip 当前固定为 `title={label}`,无法自定义或关闭。

### 模块
`packages/x/components/actions/`(`interface.ts` / `ActionsItem.tsx`)

### 任务
新增 `tooltip?: string | TooltipProps | false`,`false` 时不渲染 Tooltip。

### 验收
- 自定义 / 关闭 Tooltip 的 demo
- 单测
- 中英文档

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with packages/x/components/actions/interface.ts and ActionsItem.tsx to understand the existing label-based Tooltip behavior. Add the requested customization, demo, unit test, and Chinese and English documentation; done means custom and disabled Tooltips are demonstrated and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.