The CartEstimatedCost component renders a
Money component with the
cost associated with the
amountType prop. If no
amountType prop is specified, then it defaults to
children is a function, then it will pass down the render props provided by the parent component.
||A string type that defines the type of cost needed. Valid values:
||A function that takes an object return by the
CartEstimatedCost component is a client component, which means that it renders on the client.
For more information about component types, refer to React Server Components.