1 2 3 4 5 6 7 8 9 10
use crate::*; /// Props for the `my_card` component. /// /// Defines the strongly-typed interface for the card wrapper. #[derive(Data, Debug, Default)] pub(crate) struct MyCardProps { /// The card title displayed in the header. pub(crate) title: String, }