Skip to content
Snippets Groups Projects
Commit 1b365205 authored by MrGVSV's avatar MrGVSV
Browse files

Re-ordered widget attributes

parent 88eaec1c
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ struct TestProps { ...@@ -15,8 +15,8 @@ struct TestProps {
on_event: Option<kayak_core::OnEvent>, on_event: Option<kayak_core::OnEvent>,
} }
/// A test widget
#[widget] #[widget]
/// A test widget
fn Test(props: TestProps) { fn Test(props: TestProps) {
let _ = use_state!(props.foo); let _ = use_state!(props.foo);
let children = props.get_children(); let children = props.get_children();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment