Notification badge
EuiNotificationBadge should be used to showcase the number of notifications, alerts, or hidden selections. This badge type is commonly used in the
EuiHeader and EuiFilterButton components.Loading...
Props
EuiNotificationBadge
Extends HTMLAttributes
Prop | Description and type | Default value |
---|---|---|
Prop children# | Description and type ReactNode to render as this component's content ReactNode | Default value Required |
Prop size# | Description and type Type: "s" | "m" | Default value s |
Prop color# | Description and type Type: "accent" | "success" | "subdued" | Default value accent |
Prop className# | Description and type Type: string | Default value |
Prop aria-label# | Description and type Type: string | Default value |
Prop data-test-subj# | Description and type Type: string | Default value |
Prop css# | Description and type Type: Interpolation<Theme> | Default value |