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] Place a copy button next to the import for MUI icons #23930

Closed
1 task done
GabriFila opened this issue Dec 10, 2020 · 3 comments
Closed
1 task done

[docs] Place a copy button next to the import for MUI icons #23930

GabriFila opened this issue Dec 10, 2020 · 3 comments
Labels
docs Improvements or additions to the documentation package: icons Specific to @mui/icons

Comments

@GabriFila
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

In the current MUI docs, in the icons section, there is not the possibility to quickly copy the import statement for an icon. It would be good to have a button to quickly copy the import statement.

I would be very happy to add it myself.

Examples 🌈

This is the current version

iconPage

I would imagine something like this, or maybe with the button before the import. I'm open to suggestions and guidelines.

expected

Motivation 🔦

I believe it is not necessary, but it can be useful. I always like websites that provide me with shortcuts.

Thank you!

@GabriFila GabriFila added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 10, 2020
@oliviertassinari
Copy link
Member

@GabriFila
Copy link
Author

Yes, very sorry did not see it. I only looked at the issues not the PRs.

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation package: icons Specific to @mui/icons and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 10, 2020
@oliviertassinari
Copy link
Member

Great, thanks for the confirmation.

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 package: icons Specific to @mui/icons
Projects
None yet
Development

No branches or pull requests

2 participants