feat(Overlay): add default slot (#4571)
This commit is contained in:
@@ -47,7 +47,9 @@ function Overlay(
|
||||
class={[bem(), props.className]}
|
||||
onTouchmove={preventTouchMove}
|
||||
{...inherit(ctx, true)}
|
||||
/>
|
||||
>
|
||||
{slots.default && slots.default()}
|
||||
</div>
|
||||
</transition>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user