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
Issue @deprecated notice for the UnderlineNav v1 (#2834)
* Issue @deprecate notice for the UnderlineNav v1
* Add changeset
* Update src/UnderlineNav.tsx
Co-authored-by: Josh Black <joshblack@github.com>
* Add deprecation notice on the docs
---------
Co-authored-by: Josh Black <joshblack@github.com>
Copy file name to clipboardExpand all lines: docs/content/UnderlineNav.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ import data from '../../src/UnderlineNav.docs.json'
8
8
9
9
Use the UnderlineNav component to style navigation with a minimal underlined selected state, typically used for navigation placed at the top of the page.
10
10
11
+
## Deprecation
12
+
13
+
UnderlineNav is deprecated and will be replaced by the draft `UnderlineNav` in the next major release. See [the draft UnderlineNav's docs](/drafts/UnderlineNav2) for more details.
14
+
11
15
To use UnderlineNav with [react-router](https://github.com/ReactTraining/react-router) or
* @deprecated UnderlineNav is deprecated and will be replaced by the draft `UnderlineNav` in the next major release. See https://primer.style/react/drafts/UnderlineNav2 for more details.
0 commit comments