Files
dioxus/packages/core-macro/examples/inline_props.rs
T
2021-12-25 17:18:05 -05:00

23 lines
321 B
Rust

use dioxus_core_macro::{inline_props, Props};
fn main() {}
type Element<'a> = ();
pub struct Scope<'a, T> {
props: &'a T,
}
#[inline_props]
pub fn component(
cx: Scope,
chkk: String,
chkk2: String,
r: u32,
cat: &'a str,
drd: String,
e: String,
) -> Element {
let r = chkk.len();
}