inline_props.rs 341 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<'a>(
  9. cx: Scope<'a>,
  10. chkk: String,
  11. chkk2: String,
  12. r: u32,
  13. cat: &'a str,
  14. drd: String,
  15. e: String,
  16. ) -> Element<'a> {
  17. let r = chkk.len();
  18. }