CartShopPayButton

The CartShopPayButton component renders a ShopPayButton for the items in the cart. It must be a descendent of a CartProvider component.

Example code

Props

Name Required Description
className No A string of classes to apply to the div that wraps the shop-pay-button web component.

Component type

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