Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Jan 27, 2023
1 parent e3f9bbf commit b383dbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/content/UnderlineNav.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source: https://github.com/primer/react/tree/main/src/UnderlineNav
storybook: '/react/storybook/?path=/story/components-underlinenav--playground'
---

import data from '../../../src/UnderlineNav/UnderlineNav.docs.json'
import data from '../../src/UnderlineNav/UnderlineNav.docs.json'

```js
import {UnderlineNav} from '@primer/react'
Expand Down
6 changes: 3 additions & 3 deletions docs/content/deprecated/UnderlineNav.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ title: UnderlineNav (legacy)
status: Deprecated
---

import data from '../../src/deprecated/UnderlineNav.docs.json'
import data from '../../../src/deprecated/UnderlineNav.docs.json'

Use the UnderlineNav component to style navigation with a minimal underlined selected state, typically used for navigation placed at the top of the page.

## Deprecation

Use [the new version of UnderlineNav](/UnderlineNav) with design updated and accessibility improvements.

**Before**
### Before

```jsx
<UnderlineNav aria-label="Main">
Expand All @@ -24,7 +24,7 @@ Use [the new version of UnderlineNav](/UnderlineNav) with design updated and acc
</UnderlineNav>
```

**After**
### After

```jsx
<UnderlineNav aria-label="Repository">
Expand Down

0 comments on commit b383dbc

Please sign in to comment.