pub fn use_focus_for_instance_id(
    hooks: &mut Hooks<'_>,
    instance_id: String
) -> (bool, Arc<CbDebuggable<dyn Fn(bool) + Sync + Send + 'static>>)
Expand description

A hook that returns the current focus state for this element, given a specific instance_id, and a callback to set the focus state.