You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Label component has been updated to align with [Primer ViewComponents' Label component](https://primer.style/view-components/components/label). Now the React component is consistent ViewComponents and the intent of the design team.
8
+
9
+
Major changes in the new Label component:
10
+
11
+
- No more `medium` size - only `small` and `large`
12
+
- Labels are outlined by default, so the `outline` prop has been removed
13
+
- Custom text and background colors are discouraged, but still possible via the `sx` prop
14
+
15
+
If you were using the `Label` component to render issue/PR labels, use the [IssueLabelToken](https://primer.style/react/Token#issuelabeltoken) component instead.
0 commit comments