Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 14, 2021
1 parent b69067b commit 3178de5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/components/buttons/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ component forwards this ref to the underlying DOM node.
Given that many of the interactive components rely on `ButtonBase`, you should be
able to take advantage of it everywhere.

Here is an [integration example with react-router](/guides/composition/#button).
Here is an [integration example with react-router](/guides/routing/#button).

## Limitations

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/links/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ When you use `target="_blank"` with Links, it is [recommended](https://developer
One common use case is to perform navigation on the client only, without an HTTP round-trip to the server.
The `Link` component provides the `component` prop to handle this use case.

Here is an [integration example with react-router](/guides/composition/#link).
Here is an [integration example with react-router](/guides/routing/#link).

## Accessibility

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/lists/lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ListItemLink(props) {
</ListItemLink>;
```

You can find a [demo with React Router following this section](/guides/composition/#react-router) of the documentation.
You can find a [demo with React Router following this section](/guides/routing/#list) of the documentation.

## Nested List

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/faq/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ The CSS alternative provides more advantages, such as:

## How do I use react-router?

We detail the [integration with third-party routing libraries](/guides/composition/#routing-libraries) like react-router, Gatsby or Next.js in our guide.
We detail the [integration with third-party routing libraries](/guides/routing/) like react-router, Gatsby or Next.js in our guide.

## How can I access the DOM element?

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/guides/typescript/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ const theme = createMyTheme({
Many Material-UI components allow you to replace their root node via a `component`
prop, this will be detailed in the component's API documentation.
For example, a Button's root node can be replaced with a React Router's Link, and any additional props that are passed to Button, such as `to`, will be spread to the Link component.
For a code example concerning Button and react-router-dom checkout [these demos](/guides/composition/#routing-libraries).
For a code example concerning Button and react-router-dom checkout [these demos](/guides/routing/#component-prop).

To be able to use props of such a Material-UI component on their own, props should be used with type arguments. Otherwise, the `component` prop will not be present in the props of the Material-UI component.

Expand Down

0 comments on commit 3178de5

Please sign in to comment.