Repository URL to install this package:
|
Version:
0.14.1 ▾
|
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}
/>
))