Function use_style_provider_quickstart

Source
pub fn use_style_provider_quickstart<'a, T: Theme>(
    cx: &'a ScopeState,
    make_theme: impl FnOnce() -> T,
) -> &'a StyleProvider<T>
Available on crate feature dioxus only.
Expand description

Quickly sets up a StyleProvider in the global document. Styles will be attached to window.document.head