OrderSummary
The OrderSummary
component is a summary component that displays the total price of the order. You can use this component to show the total price of the order.
Props
className string?
string?
The class name that is applied to the summary element. This prop is optional, and it defaults to an empty string.
fallback React.ReactNode?
React.ReactNode?
A fallback component that is shown while the data is loading. This prop is optional, and it defaults to null
.
A custom component that is used to render the order summary. This prop is optional, and it defaults to the OrderSummaryUI
component. This component receives the necessary data to render the order summary.
Example
Last updated