UNPKG

@rocketsofawesome/mirage

Version:

[Live Demo of the Pattern Library](https://rocketsofawesome.github.io/mirage/)

54 lines (52 loc) 1.72 kB
```js <StripeProviderWrapper> <CartSidebar shouldShowCartSidebar={false} giftFeatureOn={true} hideCartSidebar={() => {}} submitBag={() => { console.log('submit bag') }} subTotal={22.5} itemsInBag={4} order={{ applied_coupon_codes: [], email: null, id: 627960, line_items:[2301163], number: "P710883835", payment_method: null, payment_methods: [], promotion_adjustments: [], selected_shipping_rate_id: null, shipping_address: null, shipping_cost: "0.0", shipping_methods: [], store_credits_total: "0.0", subtotal: "22.5", tax_total: "0.0", total: "22.5", waitlist_items:[] }} currentUser={null} submitBagCheckoutStripe={() => {}} loadBag={() => {}} setShippingAddress={() => {}} lineItems={[ ]} onUpdateQuantity={() => { console.log('update quantity') }} onUpdateSize={() => { console.log('update size') }} removeItem={() => { console.log('remove item') }} segmentCartViewed={() => { console.log('segment cart viewed') }} promotion={null} promotionLoading={false} promoHasBeenApplied={null} promoErrorMessage={null} applyPromotion={() => { console.log('apply promotion') }} removePromotion={() => { console.log('remove promotion') }} appliedPromotion={null} onClickCheckout={() => { console.log('onClick checkout') }} onClickPaymentRequestButton={() => { console.log('onClick payment request button') }} evergreenPromoItemCount={'6'} evergreenPromoPercent={'20'} /> </StripeProviderWrapper> ```