Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix a number of typos in the docs #8314

Merged
merged 1 commit into from Nov 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/api.md
Expand Up @@ -361,7 +361,7 @@ interface NavLinkProps

</details>

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.
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.

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.

Expand Down Expand Up @@ -916,7 +916,7 @@ import {
useLinkClickHandler
} from "react-router-dom";

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

const Link = React.forwardRef(
(
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/tutorial.md
Expand Up @@ -15,7 +15,7 @@ If you're just getting started with React generally, we recommend you follow [th

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.

While building a little bookeeping app we'll cover:
While building a little bookkeeping app we'll cover:

- Configuring Routes
- Navigating with Link
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrading/reach.md
Expand Up @@ -72,7 +72,7 @@ come back later and pick up where you left off.
You should be able to simply install v1.3.3 and then deploy your app.

```sh
npm install @reach/router@lastest
npm install @reach/router@latest
```

### Update route components to use hooks
Expand Down