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

[docs] Fix Link typings in the react-router example #32308

Merged
merged 5 commits into from
Jul 4, 2022

Conversation

aaarichter
Copy link
Contributor

@aaarichter aaarichter commented Apr 14, 2022

Closes #32306

@mui-bot
Copy link

mui-bot commented Apr 14, 2022

No bundle size changes

Generated by 🚫 dangerJS against 26e1785

@danilo-leal danilo-leal changed the title docs(Link): fix typings in react-router example. Fixes #32306 [docs] Fix Link typings in the react-router example Apr 14, 2022
@danilo-leal danilo-leal added the docs Improvements or additions to the documentation label Apr 14, 2022
@aaarichter
Copy link
Contributor Author

@danilo-leal - it is green now - yeah

@@ -16,9 +16,15 @@ You can also make a button perform navigation actions. You can also make a butto

In real-life applications, using a native `<a>` element is rarely enough. element is rarely enough. You can improve the user experience by using an enhanced Link component systematically. The theme of Material UI allows configuring this component once. For instance, with react-router: The theme of MUI allows configuring this component once. For instance, with react-router:

```jsx
```tsx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not manually changing the translation files. Please revert the changes in the routing-zh.md and routing-pt.md and we should be good to merge :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mnajdova addressed

@michaldudak
Copy link
Member

Could you please also update the LinkRouterWithTheme demo to be consistent with the example (type the forwardRef argument)?

@aaarichter
Copy link
Contributor Author

aaarichter commented Jun 13, 2022

@michaldudak - updated LinkRouterWithTheme 😉

(I erased my previous comment - I misread your comment - meh 😿 )

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@mnajdova mnajdova requested a review from michaldudak June 22, 2022 09:05
@michaldudak michaldudak merged commit 7cb56d2 into mui:master Jul 4, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Link] Receipt for global theme link fails on Typings
5 participants