card_with_header_footer

Function card_with_header_footer 

Source
pub fn card_with_header_footer<F>(
    header: &str,
    footer: &str,
    f: F,
) -> Element<Div>
where F: FnOnce(Element<Div>) -> Element<Div>,
Expand description

Create a card with header and footer.

Generates:

<div class="card">
  <div class="card-header">{header}</div>
  <div class="card-body">...</div>
  <div class="card-footer text-body-secondary">{footer}</div>
</div>