chore: tweak generic arguments and iterators in rsx
This commit is contained in:
1 parent
e8ae830cf2
commit
e09b6bf813
7 files changed
+93
-66
No files matched your search
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user