Skip to content

Commit a844151

Browse files
committed
fix(Drawer): closeIcon customization is invalid
1 parent 7a91110 commit a844151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drawer/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ const Drawer = defineComponent({
271271
return (
272272
closable && (
273273
<button key="closer" onClick={close} aria-label="Close" class={`${prefixCls}-close`}>
274-
{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : null}
274+
{$closeIcon === undefined ? <CloseOutlined></CloseOutlined> : $closeIcon}
275275
</button>
276276
)
277277
);

0 commit comments

Comments
 (0)