feat(Notify): support component call (#6453)

This commit is contained in:
neverland
2020-06-03 20:32:02 +08:00
committed by GitHub
parent 61919d0bec
commit 97541eedfa
9 changed files with 138 additions and 16 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ function Notify(
class={[bem([props.type]), props.className]}
{...inherit(ctx, true)}
>
{props.message}
{slots.default?.() || props.message}
</Popup>
);
}