docs: more work on docs

This commit is contained in:
Jonathan Kelley committed 2021-06-25 09:31:13 -04:00
1 parent 4ecfc241e2
commit daa9bd82c3
5 files changed
+53 -64

No files matched your search

+2 -3
View File
@@ -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