pub fn CardAction(_: CardActionProps) -> ElementExpand description
Renders the card header’s action slot, placed in the header’s trailing column.
- Complexity: O(attributes + children) render work.
§Examples
use adam_web_ui::components::card::{CardAction, CardHeader};
use dioxus::prelude::*;
fn app() -> Element {
rsx! { CardHeader { CardAction { "Action" } } }
}§Props
For details, see the props struct definition.
attributes:Vec<Attribute>children:Element