Shopvento UI - v0.2.0
    Preparing search index...

    Function ShopPrice

    • Render a host-formatted cent amount with optional unit price and legal labels.

      Parameters

      • __namedParameters: {
            amount: number;
            formatPrice: (amount: number) => string;
            shippingHref?: string;
            shippingLabel?: string;
            taxLabel?: string;
            unitPrice?: string;
        }
        • amount: number

          Amount in integer cents.

        • formatPrice: (amount: number) => string

          Format an integer-cent amount using the host locale and currency.

        • OptionalshippingHref?: string

          Host shipping information URL. Optional; omitted unless supplied by the host or backend.

        • OptionalshippingLabel?: string

          Host shipping information link label. Optional; omitted unless supplied by the host or backend.

        • OptionaltaxLabel?: string

          Host tax information. Optional; omitted unless supplied by the host or backend.

        • OptionalunitPrice?: string

          Host-formatted unit price. Optional; omitted unless supplied by the host or backend.

      Returns Element