Function freya_hooks::use_theme
source · pub fn use_theme(cx: &ScopeState) -> &UseSharedState<Theme>Expand description
Subscribe to Theme changes.
pub fn use_theme(cx: &ScopeState) -> &UseSharedState<Theme>Subscribe to Theme changes.