material-ui
material-ui copied to clipboard
[ButtonUnstyled] Update to render as link when href or to is provided
This PR resolve #32870
- [x] I have followed (at least) the PR section of the contributing guide.
With this change, the ButtonUnstyled component renders as an a element when href or to props are present, but neither component nor components.Root are provided.
| Messages | |
|---|---|
| :book: | Netlify deploy preview: https://deploy-preview-34337--material-ui.netlify.app/ |
Generated by :no_entry_sign: dangerJS against 29ab2d698bf63560d30452a0a86962998c31d292
I resolved the conflicts caused by the recent prop renaming.
Could you please merge in the latest master? Codecov shows something weird.