I can render any custom lwc component inside another lwc component. My approach is similar to this.
<template>
<h1>Log In</h1>
<div>
<slot name="longin">
<c-login></c-login>
</slot>
</div>
</template>
The login component is a custom component created by me. Now I want to render an standard component inside slot. I'M following the same procedure but not working.
For example, I'm trying to render standard calender component inside slot by the following code.
<template>
<h1>Calender</h1>
<div>
<slot name="calendar">
<c-calendar></c-calendar>
</slot>
</div>
</template>
But its not working. How to achieve that ?