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 that the rsx! macro can use the typed-builder pattern to initialize a component’s props.