-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[ToggleButton] variant
prop is missing
#34238
Labels
component: toggle button
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
new feature
New feature or request
Comments
burzaszsolt
added
the
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
label
Sep 9, 2022
1 task
I created a PR trying to fix the issue. |
hbjORbj
added
the
component: toggle button
This is the name of the generic UI component, not the React module!
label
Sep 9, 2022
hbjORbj
changed the title
[ToggleButton] Variant prop is missing from type definition
[ToggleButton] Sep 9, 2022
variant
prop is missing from type definition
hbjORbj
changed the title
[ToggleButton]
[ToggleButton] Sep 9, 2022
variant
prop is missing from type definitionvariant
prop is missing
Similar to #33510 |
@siriwatknp Similar indeed! I see in this PR that you approached it a bit different than I did in my PR. Should I also remove the "standard" variant from the type definition and the prop types? |
@michaldudak Could you check please? ☝️ I can make those changes on my PR if needed. |
mnajdova
added
new feature
New feature or request
and removed
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
labels
Sep 28, 2022
Duplicate of #33510, I've make the previous issue more general |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: toggle button
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
new feature
New feature or request
Duplicates
Latest version
Current behavior 😯
I'm trying to add a variant to the ToggleButton component on theme level and there is no such interface that I could override with module augmentation.
Expected behavior 🤔
I would expect to have a variant prop available with an extendable interface as described in the docs.
Steps to reproduce 🕹
Please check this sandbox.
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: