T127error

Missing required prop

A component is used without a prop it requires.

The prop's field in the component's Props struct is marked required.

Pass the prop, or give it a default in the component.

$ piko explain T127

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeMissingRequiredProp in Piko's source to see where it is reported.