partially restore spreading attributes
This commit is contained in:
1 parent
2470a46511
commit
36e9eb1160
19 files changed
+252
-194
No files matched your search
@@ -23,8 +23,8 @@ use tao::event::{Event, StartCause, WindowEvent};
|
||||
/// })
|
||||
/// }
|
||||
/// ```
|
||||
pub fn launch(root: Component) {
|
||||
launch_with_props(root, (), Config::default())
|
||||
pub fn launch(root: fn() -> Element) {
|
||||
launch_with_props(|root| root(), root, Config::default())
|
||||
}
|
||||
|
||||
/// Launch the WebView and run the event loop, with configuration.
|
||||
|
||||
Reference in new issue
Block a user