@automattic/mini-cart
Version:
A simple wp.com shopping-cart interface.
11 lines • 518 B
TypeScript
export declare function MiniCart({ selectedSiteSlug, cartKey, goToCheckout, closeCart, onRemoveProduct, onRemoveCoupon, checkoutLabel, emptyCart, }: {
selectedSiteSlug: string;
cartKey: number | undefined;
goToCheckout: (siteSlug: string) => void;
closeCart: () => void;
onRemoveProduct?: (uuid: string) => void;
onRemoveCoupon?: () => void;
checkoutLabel?: string;
emptyCart?: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=mini-cart.d.ts.map