The CartLineImage component renders an Image component for the cart line merchandise's image. It must be a descendent of a CartLineProvider component.

Example code


The CartLineImage component is aliased by the CartLine.Image component. You can use whichever component you prefer.

Component type

The CartLineImage component is a client component, which means that it renders on the client. For more information about component types, refer to React Server Components.