projectLabel.stories.js 484 B

12345678910111213141516171819202122232425
  1. import React from 'react';
  2. import ProjectLabel from 'app/components/projectLabel';
  3. export default {
  4. title: 'Deprecated/ProjectLabel',
  5. };
  6. export const Default = () => {
  7. return (
  8. <ProjectLabel
  9. project={{name: 'Project Name', slug: 'project-name'}}
  10. organization={{slug: 'test-org', features: []}}
  11. />
  12. );
  13. };
  14. Default.storyName = 'default';
  15. Default.parameters = {
  16. docs: {
  17. description: {
  18. story: 'Do not use this, use IdBadge instead',
  19. },
  20. },
  21. };