dioxus_lib::prelude

Function fc_to_builder

source
pub fn fc_to_builder<P, M>(
    _: impl ComponentFunction<P, M>,
) -> <P as Properties>::Builder
where P: Properties,
Expand description

This utility function launches the builder method so rsx! and html! macros can use the typed-builder pattern to initialize a component’s props.