mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-06 01:38:45 +00:00
23 lines
321 B
Rust
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();
|
||
|
}
|