examples: upgrade to new version of dioxus core.
also add the inline_props macro
This commit is contained in:
1 parent
21e00c114e
commit
cda759c659
41 files changed
+556
-253
No files matched your search
@@ -89,7 +89,7 @@ mod ric_raf;
|
||||
/// }
|
||||
/// ```
|
||||
pub fn launch(root_component: Component<()>) {
|
||||
launch_with_props(root_component, ());
|
||||
launch_with_props(root_component, (), |c| c);
|
||||
}
|
||||
|
||||
/// Launches the VirtualDOM from the specified component function and props.
|
||||
|
||||
Reference in new issue
Block a user