#[derive(StatefulInteractiveElement)]Expand description
Derives gpui::StatefulInteractiveElement, which adds methods such as role.
The derive writes an empty impl, so the trait’s default methods become available.
The type must also implement gpui::InteractiveElement, which you can derive with
#[derive(InteractiveElement)].