Function dioxus_core::prelude::provide_root_context
source · pub fn provide_root_context<T: 'static + Clone>(value: T) -> Option<T>
Expand description
Provide a context to the root scope
pub fn provide_root_context<T: 'static + Clone>(value: T) -> Option<T>
Provide a context to the root scope