Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import React from 'react'
import { storiesOf } from '@storybook/react'
import { SingleShipping } from 'presets/Checkout/GuestUser'
const handleShipToMultipleAddress = (changeArgs) => {
console.log('[Story/Checkout/GuestUser] SingleShipping handleShipToMultipleAddress: ', changeArgs)
}
const handleShippingAddressSubmit = (changeArgs) => {
console.log('[Story/Checkout/GuestUser] SingleShipping handleShippingAddressSubmit: ', changeArgs)
}
storiesOf('presets/Checkout/GuestUser', module).add('SingleShipping', () => (
<SingleShipping
onShipToMultipleAddress={handleShipToMultipleAddress}
onSubmit={handleShippingAddressSubmit}
/>
))