1
0

comments.rsx 589 B

123456789101112131415161718192021222324252627282930313233343536
  1. rsx! {
  2. div {
  3. // Comments
  4. class: "asdasd",
  5. "hello world"
  6. }
  7. div {
  8. // My comment here 1
  9. // My comment here 2
  10. // My comment here 3
  11. // My comment here 4
  12. class: "asdasd",
  13. // Comment here
  14. onclick: move |_| {
  15. let a = 10;
  16. let b = 40;
  17. let c = 50;
  18. },
  19. // my comment
  20. // This here
  21. "hi"
  22. }
  23. // Comment head
  24. div { class: "asd", "Jon" }
  25. // Comment head
  26. div {
  27. // Collapse
  28. class: "asd",
  29. "Jon"
  30. }
  31. }