DioxusLabs/docsite

rsx reference - inconsistencies

frantisek-heca opened this issue · 2 comments

  1. div => button
image
  1. confusing camelCase html attributes, they are mostly kebab-case
image
  1. there is no mention of the color above at the docs, at all
image
  1. not empty & not div🤣
  2. I think it means img {}. It's better to use comment mark like 1.
rsx! {
    img {    <-------
        // attributes
        width: "10px"  // name: value
    } <--------
}

Hmm.. I am sorry for not misleading in my 2nd case (I am going to delete it)
Somehow I was expecting they talk and want to show using name props in brackets... http://{name}whatever - my mistake.