basecoat_core/props/card.rs
1use crate::{AttrMap, BasecoatProps, Children};
2use std::borrow::Cow;
3
4/// Card has a single CSS class `.card` — no variants.
5#[derive(BasecoatProps, Default, Clone, Debug)]
6pub struct CardProps {
7 #[prop(optional, into)]
8 pub class: Option<Cow<'static, str>>,
9 #[prop(extend)]
10 pub attrs: AttrMap,
11 pub children: Children,
12}