/* eslint-disable import/no-extraneous-dependencies */
import React from 'react';
import {
  Title,
  Description,
  Primary,
  PRIMARY_STORY,
  ArgsTable,
} from '@storybook/addon-docs/blocks';
import data from '../../../../tests/factories/lotto/lotto-uk-49';

import Discalmer from '.';

export default {
  title: 'Theme/Atoms/Teatime Lunchtime Disclaimer',
  component: Discalmer,
  argTypes: {},
  parameters: {
    docs: {
      description: {
        component: '',
      },
      page: () => (
        <>
          <Title />
          <Description />
          <Primary />
          <ArgsTable story={PRIMARY_STORY} />
        </>
      ),
    },
  },
};

const Template = (args) => <Discalmer {...args} />;

export const Default = Template.bind({});
Default.args = {
  serverData: data,
};
