inline_props.rs 321 B

12345678910111213141516171819202122
  1. use dioxus_core_macro::{inline_props, Props};
  2. fn main() {}
  3. type Element<'a> = ();
  4. pub struct Scope<'a, T> {
  5. props: &'a T,
  6. }
  7. #[inline_props]
  8. pub fn component(
  9. cx: Scope,
  10. chkk: String,
  11. chkk2: String,
  12. r: u32,
  13. cat: &'a str,
  14. drd: String,
  15. e: String,
  16. ) -> Element {
  17. let r = chkk.len();
  18. }