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

export default {
  title: 'Theme/Atoms/Review Disclaimer',
  component: ReviewDiscalimer,
  argTypes: {
    showIcon: {
      control: 'boolean',
      defaultValue: true,
    },
  },
  parameters: {
    docs: {
      description: {
        component: 'Review Discalimer component',
      },
      page: () => (
        <>
          <Title />
          <Description />
          <Primary />
          <ArgsTable story={PRIMARY_STORY} />
        </>
      ),
    },
  },
};

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

export const Default = Template.bind({});
