We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ba9fe commit e146b48Copy full SHA for e146b48
components/menu/src/MenuItem.tsx
@@ -233,9 +233,13 @@ export default defineComponent({
233
onFocus={onInternalFocus}
234
title={typeof title === 'string' ? title : undefined}
235
>
236
- {cloneElement(icon, {
237
- class: `${prefixCls.value}-item-icon`,
238
- })}
+ {cloneElement(
+ icon,
+ {
239
+ class: `${prefixCls.value}-item-icon`,
240
+ },
241
+ false,
242
+ )}
243
{renderItemChildren(icon, children)}
244
</Overflow.Item>
245
</Tooltip>
0 commit comments