Tencent / Tencent/tdesign-react
[Divider] 只支持数字类型,不支持字符串,和 small/medium/large,与文档描述不一致
Open
Nobody has claimed this yet.
💭 discussion
📒 documentation
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
tdesign-react 版本
1.16.3
重现链接
https://stackblitz.com/edit/4cqyq4a7?file=src%2Fdemo.tsx
重现步骤
已fix过,但仍未达预期
期望结果
要么改文档,要么支持字符串,与 DOM 语义化同步
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the StackBlitz reproduction and the Divider documentation/API for tdesign-react 1.16.3; compare the documented small, medium, and large values with the values the component accepts. Done means the implementation and documentation agree, including the intended DOM-semantic behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100