CartLines
The CartLines
component iterates over each cart line and renders its children
within
a CartLineProvider
for each cart line.
Example code
Anchor link to section titled "Example code"
Name | Type | Description |
---|---|---|
as? | "ul" |
A ReactNode element. Valid values: ul or undefined . If ul , then each child will be wrapped with a li element. |
children | ReactNode |
A ReactNode element. |
Component type
Anchor link to section titled "Component type"The CartLines
component is a shared component, which means that it renders on both the server and the client. For more information about component types, refer to React Server Components.