diff --git a/src-docs/src/views/badge/badge_example.js b/src-docs/src/views/badge/badge_example.js
index 7dc67786983..2e4f0ca88d4 100644
--- a/src-docs/src/views/badge/badge_example.js
+++ b/src-docs/src/views/badge/badge_example.js
@@ -248,7 +248,7 @@ export const BadgeExample = {
title: 'Beta badge type',
source: [
{
- type: GuideSectionTypes.JS,
+ type: GuideSectionTypes.TSX,
code: betaBadgeSource,
},
],
diff --git a/src-docs/src/views/badge/beta_badge.js b/src-docs/src/views/badge/beta_badge.js
deleted file mode 100644
index 9db3c717b9b..00000000000
--- a/src-docs/src/views/badge/beta_badge.js
+++ /dev/null
@@ -1,60 +0,0 @@
-import React from 'react';
-
-import { EuiBetaBadge, EuiSpacer, EuiTitle } from '../../../../src/components';
-
-const colors = ['hollow', 'accent', 'subdued'];
-
-export default () => (
-
- {colors.map((item, index) => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ))}
-
-
-
- Beta badges will also line up nicely with titles
-
-
-
-
- Clickable beta badges
-
-
-
alert('Goes to Lens')}
- />
-
-
-
-);
diff --git a/src-docs/src/views/badge/beta_badge.tsx b/src-docs/src/views/badge/beta_badge.tsx
new file mode 100644
index 00000000000..8f0c6213dec
--- /dev/null
+++ b/src-docs/src/views/badge/beta_badge.tsx
@@ -0,0 +1,72 @@
+import React from 'react';
+import { css } from '@emotion/react';
+
+import { EuiBetaBadge, EuiSpacer, EuiTitle } from '../../../../src/components';
+
+const colors = ['hollow', 'accent', 'subdued'] as const;
+
+export default () => (
+ <>
+
+ {colors.map((item) => (
+ <>
+
+
+
+
+
+
+ >
+ ))}
+
+
+
+
+ Beta badges will also line up nicely with titles
+
+
+
+
+
+ Clickable beta badges
+
+
+
+ alert('Goes to Lens')}
+ />
+
+
+ >
+);
diff --git a/src/components/badge/_index.scss b/src/components/badge/_index.scss
deleted file mode 100644
index f35a82d92fb..00000000000
--- a/src/components/badge/_index.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import 'badge_group/index';
-@import 'beta_badge/index';
-@import 'notification_badge/index';
diff --git a/src/components/badge/badge_group/__snapshots__/badge_group.test.tsx.snap b/src/components/badge/badge_group/__snapshots__/badge_group.test.tsx.snap
index 18b270c05e1..e77c89dd12f 100644
--- a/src/components/badge/badge_group/__snapshots__/badge_group.test.tsx.snap
+++ b/src/components/badge/badge_group/__snapshots__/badge_group.test.tsx.snap
@@ -2,43 +2,39 @@
exports[`EuiBadgeGroup gutterSize none is rendered 1`] = `
`;
exports[`EuiBadgeGroup gutterSize s is rendered 1`] = `
`;
exports[`EuiBadgeGroup gutterSize xs is rendered 1`] = `
`;
exports[`EuiBadgeGroup is rendered 1`] = `
6
@@ -123,7 +123,7 @@ exports[`EuiFacetButton props quantity is rendered 1`] = `
Content
60
diff --git a/src/components/filter_group/__snapshots__/filter_button.test.tsx.snap b/src/components/filter_group/__snapshots__/filter_button.test.tsx.snap
index 769c26704ea..25d9224e42f 100644
--- a/src/components/filter_group/__snapshots__/filter_button.test.tsx.snap
+++ b/src/components/filter_group/__snapshots__/filter_button.test.tsx.snap
@@ -140,7 +140,7 @@ exports[`EuiFilterButton props numActiveFilters and hasActiveFilters is rendered
/>
5
@@ -166,7 +166,7 @@ exports[`EuiFilterButton props numFilters is rendered 1`] = `
/>
5
@@ -232,7 +232,7 @@ exports[`EuiFilterButton renders zero properly 1`] = `
/>
0
diff --git a/src/components/header/header_section/__snapshots__/header_section_item_button.test.tsx.snap b/src/components/header/header_section/__snapshots__/header_section_item_button.test.tsx.snap
index 376bb23199a..f1dcfc52179 100644
--- a/src/components/header/header_section/__snapshots__/header_section_item_button.test.tsx.snap
+++ b/src/components/header/header_section/__snapshots__/header_section_item_button.test.tsx.snap
@@ -79,7 +79,7 @@ exports[`EuiHeaderSectionItemButton renders notification as a badge 1`] = `
class="euiHeaderSectionItemButton__content"
/>
@@ -127,7 +127,7 @@ exports[`EuiHeaderSectionItemButton renders notification color 1`] = `
class="euiHeaderSectionItemButton__content"
/>
diff --git a/src/components/index.scss b/src/components/index.scss
index a868fcc3197..3316643d97a 100644
--- a/src/components/index.scss
+++ b/src/components/index.scss
@@ -1,7 +1,6 @@
// Components
@import 'accordion/index';
-@import 'badge/index';
@import 'basic_table/index';
@import 'button/index';
@import 'code/index';
diff --git a/src/components/key_pad_menu/__snapshots__/key_pad_menu_item.test.tsx.snap b/src/components/key_pad_menu/__snapshots__/key_pad_menu_item.test.tsx.snap
index 4409b8dc5d7..7376f445735 100644
--- a/src/components/key_pad_menu/__snapshots__/key_pad_menu_item.test.tsx.snap
+++ b/src/components/key_pad_menu/__snapshots__/key_pad_menu_item.test.tsx.snap
@@ -106,7 +106,7 @@ exports[`EuiKeyPadMenuItem props betaBadge renders 1`] = `
>