experimentalFeatureBadge.tsx 444 B

1234567891011121314151617
  1. import styled from '@emotion/styled';
  2. import FeatureBadge from 'sentry/components/featureBadge';
  3. import {space} from 'sentry/styles/space';
  4. export function ExperimentalFeatureBadge() {
  5. return <CenteredFeatureBadge tooltipProps={{disabled: true}} type="experimental" />;
  6. }
  7. const CenteredFeatureBadge = styled(FeatureBadge)`
  8. height: ${space(2)};
  9. span {
  10. height: ${space(2)};
  11. line-height: ${space(2)};
  12. padding-top: 1px;
  13. }
  14. `;