Class

AlertBadge

AlertBadge(props) → {React.ReactElement}

Constructor

# new AlertBadge(props) → {React.ReactElement}

Overview

The Badge component from Material-UI library with CustomTooltip 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 CustomTooltip element.

View Source Utils/Feedback/AlertBadge/AlertBadge.js, line 42

React.ReactElement