question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Badge CSS api types don't include colorError

See original GitHub issue
  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

When customizing a Badge component, colorError should be available, as explained in the docs (https://material-ui.com/api/badge/)

Current Behavior 😯

colorError is not available in the types, just the following:

export type BadgeClassKey =
  | 'root'
  | 'badge'
  | 'colorPrimary'
  | 'colorSecondary'
  | 'invisible'
  | 'dot';

Your Environment 🌎

Tech Version
Material-UI core v3.9.3
TypeScript 3.2.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ubaidisaevcommented, May 31, 2019

This problem is already solved. We need to close it.

0reactions
keycadcommented, Jun 3, 2019

thanks @eps1lon ! Should I expect a new 3.9… release including this?

can anyone tell me if it will be available in a 3.x.y version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Badge CSS api types don't include colorError #15773 - GitHub
Expected Behavior When customizing a Badge component, colorError should be ... Badge CSS api types don't include colorError #15773.
Read more >
Badge API - Material UI - MUI
API reference docs for the React Badge component. Learn about the props, CSS, and other APIs of this exported module.
Read more >
CSS: UL Navigation - on hover, background color error
On hover the background color seems to come outside of the "boxes" that are my navigation items. I have ...
Read more >
JET CSS Variables - Oracle
CSS custom properties (aka CSS variables) are used in JET CSS files, details of the CSS files available are in the developer's guide....
Read more >
Bootstrap Badges - examples & tutorial
Responsive Badges built with the latest Bootstrap 5. Badges add extra information like count or label to any content. Use counters, icons, or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found