projectLabel.stories.js 471 B

123456789101112131415161718192021
  1. import React from 'react';
  2. import {withInfo} from '@storybook/addon-info';
  3. import ProjectLabel from 'app/components/projectLabel';
  4. export default {
  5. title: 'Deprecated/ProjectLabel',
  6. };
  7. export const Default = 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. Default.story = {
  16. name: 'default',
  17. };