Use the html `<slot>` element
Opened this issue · 0 comments
Shresht7 commented
Instead of comments, why not use the standard <slot>
element
<slot name="description">
<!-- Your content goes here... -->
</slot>
Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot