ui-unknown-prop
Since 0.6
a node that is not a text carries words, which nothing draws
| Severity | error |
| Source | ui-critic |
| Offers a fix patch | no |
What to do
a <button text=\"Start\"> or <div text=\"…\"> is drawn blank, because only a text node draws its words: write them as the element's children (<button>Start</button>), use the composed Button component's text or textKey prop (ui.schema lists it), or set text on the button's label node rather than on the button; the screen typecheck reports the same attribute under this code
Since / changed
See the version chips above and what changed.