import React from 'react'
import { storiesOf } from '@storybook/react'
import PageCreateModal from './PageCreateModal'
import Crowi from 'client/util/Crowi'
import i18n from '../../i18n'

i18n()

const crowi = {
  user: {
    name: 'storybook',
  },
} as Crowi

storiesOf('Modal/PageCreateModal', module).add('Default', () => <PageCreateModal crowi={crowi} />)

import React from 'react'
import PageCreateModal from './PageCreateModal'
import Crowi from '../../util/Crowi'
import i18n from '../../i18n'

i18n()

const crowi = {
  user: {
    name: 'storybook',
  },
} as Crowi

export default { title: 'Modal/PageCreateModal' }

export const Default = () => <PageCreateModal crowi={crowi} />

Rewrite PageCreateModal story with CSF
Rewrite PageCreateModal story with CSF
