My_Test_Repo/force-app/main/default/lwc/slotChildComponent/slotChildComponent.html

9 lines
273 B
HTML

<template>
<p>what is your name?</p>
<div><slot name = "username"></slot></div>
<div>what is your age</div>
<div><slot name = "age"></slot></div>
<footer class="slds-card__footer">
<div><slot name="footer"></slot></div>
</footer>
</template>