usecrate::*;/// Props for the `my_modal` component.
////// Defines the strongly-typed interface for the modal dialog.
pubstructMyModalProps{/// The modal title text.
pubtitle: String,
/// Optional close handler triggered by overlay or close button click.
pubon_close:Option<NativeEventHandler>,
}