clickable.rs

1use gpui::{ClickEvent, WindowContext};
2
3pub trait Clickable {
4    fn on_click(self, handler: impl Fn(&ClickEvent, &mut WindowContext) + 'static) -> Self;
5}