Function ShopSummary
-
ShopSummary(
__namedParameters: {
busy?: boolean;
children?: ReactNode;
formatPrice: (amount: number) => string;
rows: { amount: number; isFrom?: boolean; label: string }[];
title: string;
total: number;
totalLabel: string;
},
): ElementParameters
- __namedParameters: {
busy?: boolean;
children?: ReactNode;
formatPrice: (amount: number) => string;
rows: { amount: number; isFrom?: boolean; label: string }[];
title: string;
total: number;
totalLabel: string;
}-
Optionalbusy?: booleanWhether the host is refreshing the summary. Optional; omitted unless supplied by the host or backend.
-
Optionalchildren?: ReactNodeHost-supplied child content. Optional; omitted unless supplied by the host or backend.
-
formatPrice: (amount: number) => string
Format an integer-cent amount using the host locale and currency.
-
rows: { amount: number; isFrom?: boolean; label: string }[]
Host summary or declaration rows.
-
title: string
Customer-visible heading or title supplied by the host.
-
total: number
Server-authoritative total in integer cents.
-
totalLabel: string
Host total label.
-
Returns Element
- __namedParameters: {
Render server-authoritative summary amounts; optional minimum rows receive the German prefix ab.