Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / stories / presets / Checkout / GuestUser / SingleShipping.story.tsx
Size: Mime:
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}
  />
))