[material-ui][LoadingButton] Make the href
prop optional
#41572
Labels
component: LoadingButton
The React component.
package: material-ui
Specific to @mui/material
status: waiting for author
Issue with insufficient information
Steps to reproduce
Current behavior
href is required in LoadingButton even though you can pass an empty string to it
Expected behavior
Add a question mark '?' to its interface to make it optional as no every button is a link and since this feature does not mandate href to be a truthy value
Context
No response
Your environment
npx @mui/envinfo
Search keywords: LoadingButton href
The text was updated successfully, but these errors were encountered: