Skip to content

Commit 7b1d0a6

Browse files
committed
fix bad type in docs (#856)
1 parent 35b394b commit 7b1d0a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

website/src/pages/skip-nav.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ Renders a link that remains hidden until focused to skip to the main content.
6464

6565
#### SkipNavLink Props
6666

67-
| Prop | Type | Required | Default |
68-
| -------------------------------------- | ------- | -------- | ---------------- |
69-
| [`a` props](#skipnavlink-anchor-props) | Cool | | n/a |
70-
| [`contentId`](#skipnavlink-contentid) | `string`| false | 'reach-skip-nav' |
71-
| [`children`](#skipnavlink-children) | `node` | false | n/a |
67+
| Prop | Type | Required | Default |
68+
| -------------------------------------- | -------- | -------- | ---------------- |
69+
| [`a` props](#skipnavlink-anchor-props) | | | n/a |
70+
| [`contentId`](#skipnavlink-contentid) | `string` | false | 'reach-skip-nav' |
71+
| [`children`](#skipnavlink-children) | `node` | false | n/a |
7272

7373
##### SkipNavLink anchor props
7474

7575
Element props are spread to the underlying link.
7676

7777
#### SkipNavLink `contentId`
7878

79-
You can pass an id that connects the skip link to the element where it should link to. You can use this instead of using `SkipNavContent`. For example:
79+
You can pass an id that connects the skip link to the element where it should link to. You can use this instead of using `SkipNavContent`. For example:
8080

8181
```jsx
8282
<SkipNavLink contentId="main" />

0 commit comments

Comments
 (0)