// @flow
import React from 'react';
import { storiesOf } from '@storybook/react';
import { SectionHeader } from './index';
import { Box } from '../../../primitives/box';
import { withDocs } from '../../../../.storybook/with-docs';
import docs from './SECTION_HEADER.mkd';

storiesOf('Core/Text/SectionHeader', module).add(
  'normal',
  withDocs(docs)(() => (
    <Box>
      <SectionHeader>Section Header</SectionHeader>
    </Box>
  )),
);

storiesOf('Core/Text/SectionHeader', module).add(
  'small',
  withDocs(docs)(() => (
    <Box>
      <SectionHeader size="sm">Section Header</SectionHeader>
    </Box>
  )),
);
