Constructor
# new AlertBadge(props) → {React.ReactElement}
Overview
The Badge component from Material-UI library withCustomTooltip
and an icon as it's content.
For full documentation check out Material-UI docs on
Badge.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
Object | Any other props will be forwarded to the Badge component. |
|
icon |
React.ReactNode | The actual content of the badge. |
|
severity |
"error" | "info" | "success" | "warning" |
<optional> |
Determines the color of the badge. |
title |
React.ReactNode | The message in the tooltip. |
|
TooltipProps |
Object |
<optional> |
Props applied to the |
React.ReactElement