diff --git a/src/tag/index.js b/src/tag/index.js index b3965909b..0e279b7b8 100644 --- a/src/tag/index.js +++ b/src/tag/index.js @@ -56,16 +56,12 @@ export default createComponent({ return ( - {show ? ( - + {show && ( + {slots.default?.()} {CloseIcon} - ) : null} + )} ); };