reactive-layout.stderr raw

error: invalid component
       error: layout properties take literal values; reactive layout comes from the style engine, not from bindings
         --> <inline>:4:21
         |
       4 |   (container :width (if wide 200 100)
         |                     ^^^^^^^^^^^^^^^^^

 --> tests/ui/reactive-layout.rs:1:1
  |
1 | / guiduck_component_macro::component_str!(r##"
2 | | (component Broken
3 | |   (state wide bool :init false)
4 | |   (container :width (if wide 200 100)
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)