Developers
Start building
Themes/Theme SDK/Modules/checkout/Parts

Parts

The parts of @poltura/theme-sdk/checkout.

On this page
import { … } from '@poltura/theme-sdk/checkout';

PaymentIcons

The marks of the payment methods the store accepts, in the order checkout offers them.

PaymentIcons(props: PaymentIconsProps): ReactElement | null

Renders nothing while the store has no payment method available.

Props: PaymentIconsProps

Example

import { PaymentIcons } from '@poltura/theme-sdk/checkout';

export function AcceptedPayments() {
  return <PaymentIcons className="justify-center" />;
}
Last updated