How to actually pass Svelte component through props?
How to actually pass Svelte component through props?
svelte · !-- · Pass-through props · Allow you to receive props from the component interface and pass them to a particular element · Within the component Not all
Props deal with passing data objects from component to component, but slots deal with passing template content instead from component to
sveltekit slot Slots can be rendered zero or more times and can pass values back to the parent using props The parent exposes the values to the slot template using the let:
svelte pass props to slot Props Prop, Type, Default, Description items, any, Array of items --> svelte:fragment slot=empty > Select> Events Event Name
Regular
price
181.00 ₹ INR
Regular
price
181.00 ₹ INR
Sale
price
181.00 ₹ INR
Unit price
/
per