Feat: add webview example

This commit is contained in:
Jonathan Kelley committed 2021-01-22 15:50:16 -05:00
1 parent 7730fd4a8c
commit 65d0d611ea
11 files changed
+84 -38

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ impl<T> WebviewRenderer<T> {
todo!()
}
pub async fn launch(self, props: T) {
pub fn launch(self, props: T) {
let mut ctx = Context { props: &props };
let WebviewRenderer { root } = self;
let content = root(&mut ctx);