// eslint-disable-next-line import/no-extraneous-dependencies
import { boolean } from '@storybook/addon-knobs'

import Theme from './Theme'

export default () => ({
  components: {
    Theme,
  },
  props: {
    isDarkMode: {
      default: boolean('Dark mode', false),
    },
  },
  template: `
    <Theme :isDarkMode="isDarkMode">
      <story/>
    </Theme>
  `,
})
