Skip to main content

CardContent

Function CardContent 

Source
pub fn CardContent(_: CardContentProps) -> Element
Expand description

Renders the card’s main content region beneath its optional header.

  • Complexity: O(attributes + children) render work.

§Examples

use adam_web_ui::components::card::{Card, CardContent};
use dioxus::prelude::*;
fn app() -> Element {
    rsx! { Card { CardContent { "Body" } } }
}

§Props

For details, see the props struct definition.