add as_mapped_ref

This commit is contained in:
Evan Almloff committed 2024-01-01 10:44:21 -06:00
1 parent e45739ac04
commit b9d179c494
6 files changed
+68 -20

No files matched your search

+1 -1
View File
@@ -23,6 +23,6 @@ fn App(cx: Scope) -> Element {
}
#[component]
fn Child(cx: Scope, signal: SignalMap<String>) -> Element {
fn Child(cx: Scope, signal: MappedSignal<String>) -> Element {
render! {"{signal:?}"}
}