How to get Svelte Slots working in Storybook #20142
How to get Svelte Slots working in Storybook #20142
🐿️ This is how it works in Svelte because your components get turned into classes at the end of the day If you want to support the content
Tired of those pesky divs clogging up your named slots?? Tire no more! Svelte fragments are
svelte slot The special Svelte element svelte:fragment> looks spooky but it just allows you to pass content to a slot without an extra div> wrapper 🐿️ As
svelte slot props At the time of writing this article, there's no way to pass in slot content to Svelte component using svelte-testing-library You get the idea
Regular
price
147.00 ₹ INR
Regular
price
147.00 ₹ INR
Sale
price
147.00 ₹ INR
Unit price
/
per