add linkTo property on IconButton
See original GitHub issueI was working on the addresses panel on MC and I needed an icon button with a link and the original implementation was an IconButton
inside a Link
and that added more code to a simple piece of functionality.
Please refer to the code snippet added to get a better view of the issue.
Adding a linkTo
property on the IconButton
will make things concise and more readable.
Note: if needed I can do a PR for it.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (13 by maintainers)
Top Results From Across the Web
How to Put Routerlink in IconButton in ReactJS - Stack Overflow
I was able to inject a Link into IconButton as follows. ... import React from "react"; import { IconButton } from '@material-ui/core'; ...
Read more >IconButton API - Material UI - MUI
API reference docs for the React IconButton component. Learn about the props, CSS, and other APIs of this exported module.
Read more >IconButton class - material library - Flutter - Dart API docs
API docs for the IconButton class from the material library, for the Dart programming ... can be produced by configuring the IconButton widget's...
Read more >Icon Button - Chakra UI
Theming properties# The IconButton and Button components share the same theming configuration. To create theming just for the IconButton component, you can ...
Read more >Icon Button - the Draftbit Docs!
To add an Icon, go to the Configs tab (second tab) in Properties Panel. Open the Icon picker next to the Icon config...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Right, thanks for clarifying 👌
Actually this way we could completely remove “react-router-dom” as a peer dep 🤔