unknown-property.stderr raw

error: invalid component
       error: unknown property `:colour` on `container`; known properties: width, height, padding, gap, direction, align-items, justify-content, align-self, grow, shrink, basis, background, corner-radius, on-click, on-counted-click, on-file-drop, on-focus-change, on-key, on-pointer-enter, on-pointer-leave, on-pointer-down, on-pointer-up, autofocus, class, tooltip, enabled, focused
         --> <inline>:4:14
         |
       4 |   (container :colour "#fff" :on-click go
         |              ^^^^^^^

 --> tests/ui/unknown-property.rs:1:1
  |
1 | / guiduck_component_macro::component_str!(r##"
2 | | (component Broken
3 | |   (handler go)
4 | |   (container :colour "#fff" :on-click go
5 | |     (text :text "hi")))
6 | | "##);
  | |____^
  |
  = note: this error originates in the macro `guiduck_component_macro::component_str` (in Nightly builds, run with -Z macro-backtrace for more info)