chore: tweak generic arguments and iterators in rsx

This commit is contained in:
Jonathan Kelley committed 2022-11-15 20:58:56 -08:00
1 parent e8ae830cf2
commit e09b6bf813
7 files changed
+93 -66

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ fn app(cx: Scope) -> Element {
// Components can be generic too
// This component takes i32 type to give you typed input
TypedInput::<TypedInputProps<i32>> {}
TypedInput::<i32> {}
// Type inference can be used too
TypedInput { initial: 10.0 }