Function use_theme

Source
pub fn use_theme<'hook>() -> impl 'hook + Hook<Output = Theme>
Expand description

Use a theme

ยงNote

When used in function components and hooks, this hook is equivalent to:

pub fn use_theme() -> Theme {
    /* implementation omitted */
}