// @flow
import React from 'react';
import { Spinner } from './spinner.component';
import { MarginChecker } from '../../../mixins/spacing/story-support/margin-checker';
import { PaddingChecker } from '../../../mixins/spacing/story-support/padding-checker';
import { StackeeChecker } from '../../../mixins/stackee/story-support/stackee-checker';
import docs from './spinner.mdx';

export default {
  component: Spinner,
  title: 'Components/Feedback/Spinner',
  parameters: {
    docs: {
      page: docs,
    },
  },
};

export const Default = () => <Spinner />;

export const MixinsSpacing = () => (
  <>
    <MarginChecker Component={Spinner} />
    <PaddingChecker Component={Spinner} />
  </>
);

export const MixinsStackee = () => <StackeeChecker Component={Spinner} />;
