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

export default {
  title: 'Theme/Modules/Spotlight/Image/Template One',
  component: TemplateOne,
  argTypes: {},
  parameters: {
    docs: {
      description: {
        component: 'A component that shows a list of pros and cons and corresponding icons.',
      },
      page: () => (
        <>
          <Title />
          <Description />
          <Primary />
          <ArgsTable story={PRIMARY_STORY} />
        </>
      ),
    },
  },
};

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

export const Default = Template.bind({});
Default.args = {
  module: {
    mode: 'image',
    read_more_text: '',
    show_read_more: '0',
    items: [
      {
        image: `1702027902/featured-image.png`,
        // link_text: `Top Online Casinos `,
        link: {
          title: null,
          type: 'internal',
          value: `/rizk`,
        },
      },
      {
        image: `1702027902/featured-image.png`,
        // link_text: `Top Online Casinos `,
        link: {
          title: null,
          type: 'internal',
          value: `/rizk`,
        },
      },
      {
        image: `1702027902/featured-image.png`,
        // link_text: `Top Online Casinos `,
        link: {
          title: null,
          type: 'internal',
          value: `/rizk`,
        },
      },
    ],
  },
};
