diff --git a/src/components/__snapshots__/NotificationRow.test.tsx.snap b/src/components/__snapshots__/NotificationRow.test.tsx.snap index 2ae1c9844..3859333ce 100644 --- a/src/components/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/components/__snapshots__/NotificationRow.test.tsx.snap @@ -72,97 +72,109 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -304,97 +316,109 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -593,97 +617,109 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - + + + + 2 + +
@@ -825,97 +861,109 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - + + + + 2 + +
@@ -1114,75 +1162,84 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -1324,77 +1381,86 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - + + - - - - 1 - - -
- + + + + 1 + + + + + + +
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - - + + - - - - 2 - + + + + 2 + +
@@ -1847,121 +1928,136 @@ exports[`components/NotificationRow.tsx notification pills / metrics label pills 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - - + + - - - - 2 - + + + + 2 + +
@@ -2160,75 +2256,84 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -2370,75 +2475,84 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -2637,75 +2751,84 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - + + + + 1 + +
@@ -2847,75 +2970,84 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - + + + - + + - - - - 1 - + + + + 1 + +
@@ -3114,142 +3246,160 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - - + + - - - - 2 - - + + - - - - + + + + +
@@ -3391,142 +3541,160 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - - + + - - - - 2 - - + + - - - - + + + + +
@@ -3725,142 +3893,160 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - - + + + + + - - - - 2 - - + + - - - - + + + + +
@@ -4002,142 +4188,160 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - + + - - - - 1 - - + + - - - - 1 - - + + - - - - 2 - - + + - - - - 2 - - + + - - - - + + + + +
@@ -4667,50 +4871,56 @@ exports[`components/NotificationRow.tsx should render itself & its children 1`] 7 years ago
- - + + + + 1 + + + + +
@@ -4848,50 +5058,56 @@ exports[`components/NotificationRow.tsx should render itself & its children 1`] 7 years ago
- - + + - - - - 1 - + + + + 1 + +
@@ -5086,50 +5302,56 @@ exports[`components/NotificationRow.tsx should render itself & its children when 7 years ago
- - + + - - - - 1 - + + + + 1 + +
@@ -5267,50 +5489,56 @@ exports[`components/NotificationRow.tsx should render itself & its children when 7 years ago
- - + + - - - - 1 - + + + + 1 + +
@@ -5509,50 +5737,56 @@ exports[`components/NotificationRow.tsx should render itself & its children with 7 years ago
- - + + - - - - 1 - + + + + 1 + +
@@ -5694,50 +5928,56 @@ exports[`components/NotificationRow.tsx should render itself & its children with 7 years ago
- - + + - - - - 1 - + + + + 1 + +
diff --git a/src/components/buttons/PillButton.tsx b/src/components/buttons/PillButton.tsx index a64e0c39d..0ba9dff81 100644 --- a/src/components/buttons/PillButton.tsx +++ b/src/components/buttons/PillButton.tsx @@ -1,6 +1,7 @@ import type { Icon } from '@primer/octicons-react'; import type { FC } from 'react'; import type { IconColor } from '../../types'; +import { cn } from '../../utils/cn'; export interface IPillButton { key?: string; @@ -12,13 +13,18 @@ export interface IPillButton { export const PillButton: FC = (props: IPillButton) => { return ( - + + + ); }; diff --git a/src/components/buttons/__snapshots__/PillButton.test.tsx.snap b/src/components/buttons/__snapshots__/PillButton.test.tsx.snap index 593415d29..78c044350 100644 --- a/src/components/buttons/__snapshots__/PillButton.test.tsx.snap +++ b/src/components/buttons/__snapshots__/PillButton.test.tsx.snap @@ -5,14 +5,44 @@ exports[`components/buttons/PillButton.tsx should render 1`] = ` "asFragment": [Function], "baseElement":
- + +
+ , + "container":
+ + -
- , - "container":
- +
, "debug": [Function], "findAllByAltText": [Function],