alert_with_heading

Function alert_with_heading 

Source
pub fn alert_with_heading(
    color: Color,
    heading: &str,
    text: &str,
    footer: &str,
) -> Element<Div>
Expand description

Create an alert with heading (from Bootstrap docs).

Generates:

<div class="alert alert-{color}" role="alert">
  <h4 class="alert-heading">{heading}</h4>
  <p>{text}</p>
  <hr>
  <p class="mb-0">{footer}</p>
</div>