Skip to main content

CardAction

Function CardAction 

Source
pub fn CardAction(_: CardActionProps) -> Element
Expand 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.