Skip to content

Commit 1becc31

Browse files
authored
chore(docs): fix a number of typos in the docs (#8314)
1 parent e10fffe commit 1becc31

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ interface NavLinkProps
361361

362362
</details>
363363

364-
A `<NavLink>` is a special kind of [`<Link>`](#link) that knows whether or not it is "active". This is useful when building a navigation menu such as a breadcrumb or a set of tabs where you'd like to show which of them is currently selected. It also provides useful context for assitive technology like screen readers.
364+
A `<NavLink>` is a special kind of [`<Link>`](#link) that knows whether or not it is "active". This is useful when building a navigation menu such as a breadcrumb or a set of tabs where you'd like to show which of them is currently selected. It also provides useful context for assistive technology like screen readers.
365365

366366
By default, an `active` class is added to a `<NavLink>` component when it is active. This provides the same simple styling mechanism for most users who are upgrading from v5. One difference as of `v6.0.0-beta.3` is that `activeClassName` and `activeStyle` have been removed from `NavLinkProps`. Instead, you can pass a function to either `style` or `className` that will allow you to customize the inline styling or the class string based on the component's active state.
367367

@@ -916,7 +916,7 @@ import {
916916
useLinkClickHandler
917917
} from "react-router-dom";
918918

919-
const StyledLink = styled("a", { color: "fuschia" });
919+
const StyledLink = styled("a", { color: "fuchsia" });
920920

921921
const Link = React.forwardRef(
922922
(

docs/getting-started/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you're just getting started with React generally, we recommend you follow [th
1515

1616
We'll keep this tutorial quick and to the point. By the end you'll know the APIs you deal with day-to-day with React Router. After that, you can dig into some of the other docs to get a deeper understanding.
1717

18-
While building a little bookeeping app we'll cover:
18+
While building a little bookkeeping app we'll cover:
1919

2020
- Configuring Routes
2121
- Navigating with Link

docs/upgrading/reach.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ come back later and pick up where you left off.
7272
You should be able to simply install v1.3.3 and then deploy your app.
7373

7474
```sh
75-
npm install @reach/router@lastest
75+
npm install @reach/router@latest
7676
```
7777

7878
### Update route components to use hooks

0 commit comments

Comments
 (0)