UNPKG

@commercelayer/react-components

Version:
21 lines (20 loc) 555 B
import { type JSX } from 'react'; import type { BaseAmountComponent } from '../../typings/index'; type Props = BaseAmountComponent & { /** * The label to show when the price is free */ labelFreeOver?: string; /** * The label to show when the price is external */ labelExternal?: string; } & ({ type?: 'amount'; base?: 'freeOver'; } | { type?: 'amount' | 'amountForShipment'; base?: 'price'; }); export declare function ShippingMethodPrice(props: Props): JSX.Element; export default ShippingMethodPrice;