use-shopping-cart logouse-shopping-cart

shouldDisplayCart

This property is a boolean that represents whether or not the cart should be displayed or hidden. Its value can be changed via handleCartClick(), handleCartHover(), and handleCloseCart().

Shopping Cart

Your cart is empty

Try the interactive demos on the docs pages!