open-consul/website/components/enterprise-alert
Jeff Escalante 28922ddba5 add docs for enterprise alert component 2020-05-13 14:01:37 -04:00
..
README.md add docs for enterprise alert component 2020-05-13 14:01:37 -04:00
index.jsx Add callouts to Enterprise features (#7548) 2020-04-28 12:53:29 -04:00

README.md

Enterprise Alert Component

This component is an easy way to mark some content as only applicable to the enterprise version of consul. It can be used in any documentation pages in a variety of ways. The basic implementation is written as such, on its own line within a markdown file:

<EnterpriseAlert />

And renders like this

The default text can also be replaced with custom text as such:

<EnterpriseAlert>
  Custom text <a href="">with a link</a>
</EnterpriseAlert>

Which renders as such

Finally, it can be rendered inline as a "tag" to mark a section or option as enterprise only by adding the inline attribute:

<EnterpriseAlert inline>

This is typically used after a list item, or after a headline. It renders as such