mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
24e373a812
* Remove span.ant-tag-text
Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See:
|
||
---|---|---|
.. | ||
__tests__ | ||
demo | ||
style | ||
CheckableTag.tsx | ||
index.en-US.md | ||
index.tsx | ||
index.zh-CN.md |