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 / B2B / Userprofile / SmsNotifications.story.tsx
Size: Mime:
import React from 'react'
import { storiesOf } from '@storybook/react'
import { SmsNotifications } from 'presets/B2B/UserProfile'
import { shouldDisablePropsList, myProfileUserInformation } from './fixture'

const handleSaveChanges = changeArgs => {
  console.log('[Handler] handleSaveChanges', changeArgs.toSerialized())
}

storiesOf('presets/B2B/UserProfile', module).add('SmsNotifications', () => (
  <SmsNotifications
    item={myProfileUserInformation}
    onSaveChanges={handleSaveChanges}
    shouldDisablePropsList={shouldDisablePropsList.smsNotification}
  />
))