#[component]Expand description
Turns fn Name(props: &NameProps, hooks: &mut Hooks) -> Element { .. }
(or the props-less form fn Name(hooks: &mut Hooks) -> Element) into a
unit struct implementing ntui::Component.
#[component]Turns fn Name(props: &NameProps, hooks: &mut Hooks) -> Element { .. }
(or the props-less form fn Name(hooks: &mut Hooks) -> Element) into a
unit struct implementing ntui::Component.