pub type TreeSelectCallback<Id, A> = Rc<dyn Fn(&Id) -> A>;
Callback to create an action when selection changes.
pub struct TreeSelectCallback<Id, A> { /* private fields */ }