Skip to content

QuoteRequestRemoveCart

Whether to delete the cart once the request exists. Off by default in the app's state: a buyer who means to order the same basket anyway should not find it gone.

import { QuoteRequestRemoveCart } from "@evolve-storefront/feature-quote/checkout";

Renders inside QuoteProvider.

Preview

DefaultOpen in Storybook ↗

Usage

<QuoteRequestRemoveCart checked={removeCart} onCheckedChange={setRemoveCart} />;

Props

PropTypeDescription
checkedboolean
onCheckedChange(checked: boolean) => void
disabled?boolean
className?string