CheckoutButton

Import
import CheckoutButton from 'react-storefront/CheckoutButton'

Props

NameTypeDefaultDescription
urlstring'/checkout'

The URL for checkout. Defaults to "/checkout"

dockedboolfalse

Set to true to dock the button at the bottom of the viewport so that it is always visible

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • root
  • docked