Function freya::prelude::fc_to_builder

pub fn fc_to_builder<'a, T>(
    _: fn(_: &'a Scoped<'a, T>) -> Option<VNode<'a>>
) -> <T as Properties>::Builderwhere
    T: Properties + 'a,
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.