card_simple

Function card_simple 

Source
pub fn card_simple(
    title: &str,
    text: &str,
    link_text: &str,
    link_href: &str,
) -> Element<Div>
Expand description

Create a card with title and text (from Bootstrap docs example).

Generates:

<div class="card" style="width: 18rem;">
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <p class="card-text">Some quick example text...</p>
    <a href="#" class="btn btn-primary">Go somewhere</a>
  </div>
</div>