When you want to add a new component adjacent to an existing one without the need to re-create everything
Free Shipping Progress Bar
and we’ll include this custom component inside the Cart Summary slot.
Cart Sidebar Totalizer
slot.
You can declare a {children}
component directly in the HTML of your custom component.
children
at the beginning or at the end of your custom componentBasic Free Shipping Progress Bar Component
Declare the children type
interface
Insert the children component in the HTML
Declare which native component is the children