make tui agnostic over framework
This commit is contained in:
1 parent
05b968e8e4
commit
c805bc25af
18 files changed
+262
-257
No files matched your search
@@ -61,7 +61,7 @@ pub(crate) fn CheckBox<'a>(cx: Scope<'a, CheckBoxProps>) -> Element<'a> {
|
||||
}
|
||||
state.set(new_state);
|
||||
};
|
||||
cx.render(rsx! {
|
||||
render! {
|
||||
div {
|
||||
width: "{width}",
|
||||
height: "{height}",
|
||||
@@ -78,5 +78,5 @@ pub(crate) fn CheckBox<'a>(cx: Scope<'a, CheckBoxProps>) -> Element<'a> {
|
||||
},
|
||||
"{text}"
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user