fix(Drawer): closeIcon customization is invalid (#5616)
parent
03c41177a3
commit
bb85f1f372
|
@ -271,7 +271,7 @@ const Drawer = defineComponent({
|
|||
return (
|
||||
closable && (
|
||||
<button key="closer" onClick={close} aria-label="Close" class={`${prefixCls}-close`}>
|
||||
{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : null}
|
||||
{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : $closeIcon}
|
||||
</button>
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue