Skip to content
Snippets Groups Projects
Commit 6b4b7d2a authored by MrGVSV's avatar MrGVSV
Browse files

Changed rsx props ident

This allows copy values to be used directly from props in rsx (i.e.
`props.copy_value`)
parent a16b05f3
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ impl Widget { ...@@ -104,7 +104,7 @@ impl Widget {
fn construct(name: &Path, attrs: &CustomWidgetAttributes) -> (TokenStream, TokenStream) { fn construct(name: &Path, attrs: &CustomWidgetAttributes) -> (TokenStream, TokenStream) {
let kayak_core = get_core_crate(); let kayak_core = get_core_crate();
let prop_ident = format_ident!("props"); let prop_ident = format_ident!("internal_rsx_props");
let attrs = attrs.assign_attributes(&prop_ident); let attrs = attrs.assign_attributes(&prop_ident);
let props = quote! { let props = quote! {
......
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