Interface: PriceDisplayProps
Properties
className?
optionalclassName?:string
Wrapping element class.
compareAtClassName?
optionalcompareAtClassName?:string
Class for the strikethrough compare-at portion.
compareAtPrice?
optionalcompareAtPrice?:number
Original price in minor units before the discount. When provided AND
strictly greater than price, renders as strikethrough next to the
current price. Otherwise ignored.
currency
currency:
string
ISO 4217 currency code.
locale?
optionallocale?:string
BCP 47 locale tag ('pl-PL', 'en-US', …) forwarded to both prices. When
omitted, the runtime default is used — pass it for deterministic output.
price
price:
number
Current price in minor units.
priceClassName?
optionalpriceClassName?:string
Class for the current price portion.