PaymentMethods
The PaymentMethods component displays the logos of the available payment options in a store.
Import​
import { PaymentMethods } from '@faststore/ui'
Usage​
Payment Methods







Props​
testId
string
Description
ID to find this component in testing tools (e.g.: cypress, testing-library, and jest).
Default value
store-payment-methods
title
ReactNode
Description
Title of the payment methods section (e.g.: "Payment methods", "Accepted Cards").
aria-label
string
Description
Defines a string value that labels the current element when title is not used.
children
*ReactNode
Description
Children will receive the flags to be displayed in the payment methods section (e.g.:, visa, mastercard, etc).
Customization​
data-store-payment-methods
data-payment-methods-flags