docs: more work on docs
This commit is contained in:
1 parent
4ecfc241e2
commit
daa9bd82c3
5 files changed
+53
-64
No files matched your search
@@ -162,11 +162,10 @@ static Example: FC<()> = |cx| {
|
||||
// Can take optional properties
|
||||
Taller { a: "asd" }
|
||||
|
||||
// Can pass in props directly
|
||||
// Can pass in props directly as an expression
|
||||
{{
|
||||
todo!("this neesd to be implemented");
|
||||
let props = TallerProps {a: "hello"};
|
||||
rsx!(Taller {a: "a"})
|
||||
rsx!(Taller { ..props })
|
||||
}}
|
||||
|
||||
// Can take children
|
||||
|
||||
Reference in new issue
Block a user