usecrate::*;/// Props for the `my_badge` component.
////// Defines the strongly-typed interface for the badge status indicator.
#[derive(Default)]pub(crate)structMyBadgeProps{/// The badge background/border color.
pub(crate)color:&'staticstr,
/// The badge text content.
pub(crate)text:&'staticstr,
/// Whether to render in outline style instead of solid fill.
pub(crate)outline:bool,
/// Optional click event handler.
pub(crate)on_click:Option<Rc<dyn Fn(Event)>>,
}