featureBadge.stories.js 439 B

12345678910111213141516171819202122
  1. import styled from '@emotion/styled';
  2. import FeatureBadge from 'sentry/components/featureBadge';
  3. export default {
  4. title: 'Components/Badges/Feature Badge',
  5. component: FeatureBadge,
  6. };
  7. export const Default = () => (
  8. <Wrapper>
  9. <FeatureBadge type="beta" />
  10. <FeatureBadge type="alpha" />
  11. <FeatureBadge type="new" />
  12. </Wrapper>
  13. );
  14. Default.storyName = 'Feature Badge';
  15. const Wrapper = styled('div')`
  16. display: grid;
  17. `;