text: import React from 'react'
  import { withDesign } from 'storybook-addon-designs'
  
  import { CustomDocsPage } from './CustomDocsPage'
  import { customTheme } from './theme'
  
  import './preview.scss'
  import 'react-datepicker/dist/react-datepicker.css'
  
  export const decorators = [
    (Story) => (
      <div style={{ margin: 50 }}>
        <Story />
      </div>
    ),
    withDesign,
  ]
  
  export const parameters = {
    previewTabs: { 'storybook/docs/panel': { index: -1 } },
    viewMode: 'docs',
    docs: {
      page: CustomDocsPage,
      theme: customTheme,
    },
  }
  