We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31800cb commit b35f637Copy full SHA for b35f637
components/tag/index.tsx
@@ -87,9 +87,9 @@ const Tag = defineComponent({
87
const renderCloseIcon = () => {
88
if (closable) {
89
return closeIcon ? (
90
- <div class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
+ <span class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
91
{closeIcon}
92
- </div>
+ </span>
93
) : (
94
<CloseOutlined class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick} />
95
);
0 commit comments