// @flow
import React from 'react';
import { PageTitle } from './page-title.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 './page-title.mdx';

export default {
  component: PageTitle,
  title: '2 - System/Typography/Headings/Page Title',
  parameters: {
    docs: {
      page: docs,
    },
  },
};

export const Default = () => <PageTitle>Hello</PageTitle>;

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

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