// @flow
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';
import { FieldLabel } from './index';
import { configDocs } from '../../../../.storybook/config-docs';
import docs from './FIELD_LABEL.mkd';

storiesOf('Core/Text/FieldLabel', module)
  .addDecorator(withInfo(configDocs(docs, FieldLabel)))
  .add('small', () => <FieldLabel>Something amazing I guess</FieldLabel>);
