stuff
This commit is contained in:
parent
8b8463013e
commit
fcfda03c63
|
@ -4697,7 +4697,7 @@ module.exports = (_ => {
|
|||
handleMouseLeave(e) {if (typeof this.props.onMouseLeave == "function") this.props.onMouseLeave(e, this);}
|
||||
render() {
|
||||
return BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.DOMUtils.formatClassName(this.props.className, BDFDB.disCN.badgenumberbadge),
|
||||
className: BDFDB.DOMUtils.formatClassName(this.props.className, BDFDB.disCN.badgenumberbadge, this.props.left ? BDFDB.disCN.badgeshaperoundleft : BDFDB.disCN.badgeshaperound),
|
||||
style: Object.assign({
|
||||
backgroundColor: !this.props.disableColor && (this.props.color || BDFDB.DiscordConstants.Colors.STATUS_RED),
|
||||
width: InternalComponents.LibraryComponents.Badges.getBadgeWidthForValue(this.props.count),
|
||||
|
|
|
@ -1483,6 +1483,8 @@
|
|||
"badgeicon": ["Badge", "icon"],
|
||||
"badgeiconbadge": ["Badge", "iconBadge"],
|
||||
"badgenumberbadge": ["Badge", "numberBadge"],
|
||||
"badgeshaperound": ["Badge", "baseShapeRound"],
|
||||
"badgeshaperoundleft": ["Badge", "baseShapeRoundLeft"],
|
||||
"badgetextbadge": ["Badge", "textBadge"],
|
||||
"badgewrapper": ["NotFound", "badgeWrapper"],
|
||||
"bdfdbbadge": ["BDFDB", "badge"],
|
||||
|
|
Loading…
Reference in New Issue