projectLabel.stories.js 475 B

1234567891011121314151617
  1. import React from 'react';
  2. import {storiesOf} from '@storybook/react';
  3. import {withInfo} from '@storybook/addon-info';
  4. import ProjectLabel from 'app/components/projectLabel';
  5. storiesOf('Deprecated|ProjectLabel', module).add(
  6. 'default',
  7. withInfo('Do not use this, use IdBadge instead')(() => {
  8. return (
  9. <ProjectLabel
  10. project={{name: 'Project Name', slug: 'project-name'}}
  11. organization={{slug: 'test-org', features: []}}
  12. />
  13. );
  14. })
  15. );