pub fn CardHeader(_: CardHeaderProps) -> ElementExpand description
Renders the card’s header region, placing an optional CardAction in its own column.
- Complexity: O(attributes + children) render work.
§Examples
use adam_web_ui::components::card::{CardHeader, CardTitle};
use dioxus::prelude::*;
fn app() -> Element {
rsx! { CardHeader { CardTitle { "Title" } } }
}§Props
For details, see the props struct definition.
attributes:Vec<Attribute>children:Element