wip: working on re-enabling components

This commit is contained in:
Jonathan Kelley committed 2021-11-07 22:45:41 -05:00
1 parent 15c31d545a
commit fffc7ea061
4 files changed
+75 -79

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ impl EmptyBuilder {
/// This utility function launches the builder method so rsx! and html! macros can use the typed-builder pattern
/// to initialize a component's props.
pub fn fc_to_builder<'a, T: Properties + 'a>(_: fn(Context<'a>, &T) -> Element) -> T::Builder {
pub fn fc_to_builder<'a, T: Properties + 'a>(_: fn(Context<'a>, &'a T) -> Element) -> T::Builder {
// pub fn fc_to_builder<'a, T: Properties + 'a>(_: fn(Scope<'a, T>) -> Element) -> T::Builder {
T::builder()
}