Function patternfly_yew::components::toast::use_toaster

source ·
pub fn use_toaster<'hook>() -> impl 'hook + Hook<Output = Option<Toaster>>
Expand description

Get a Toaster context.

§Note

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

pub fn use_toaster() -> Option<Toaster> {
    /* implementation omitted */
}