<EnterpriseAlert> Component

The <EnterpriseAlert> component renders a small alert used to note an enterprise feature.

Share
Code Editor

Where it's used

0.x.x
Loading 0.x.x releases...
1.x.x
Loading 1.x.x releases...
2.x.x
Loading 2.x.x releases...
3.x.x
Loading 3.x.x releases...
4.x.x
Loading 4.x.x releases...
5.x.x
Loading 5.x.x releases...
6.x.x
Loading 6.x.x releases...

Props

NameDescription
product
string
A lower-case product identifier to pull in respective theme colors. The default is hashicorp blue.
Options: "hashicorp", "boundary", "consul", "nomad", "packer", "terraform", "vault", "vagrant", "waypoint"
inline
boolean
Determines whether to display the alert inline and only with a tagline
children
string
Custom content replacing the content of the alert
className
string
Optional className to add to the root element

Inline

Intended to be used as a "tag" after a headline, bullet point, etc.

Share
Code Editor

Custom Content

Share
Code Editor