InlineAlert

The styling for the input (the coloured border) and the visibility of the inline alert is controlled through the use of has-*** classes which are applied to the form-group element. For example, to display an inline alert of type error, you must also apply the class has-error to the parent form-group element. The available classes are has-error, has-info, has-warning and has-success.

Props

NamePropTypeRequiredDefault ValueAllowed ValuesDescription
childrennodetrue
classNamestringfalseundefined
typeenumfalseSentiment.INFO
  • success
  • error
  • warning
  • info
Edit these docs on Github