Skip to main content
Defines one widget and derives its enforced capability declarations.

Parameters

required
Component, builder metadata, defaults, property schema, and typed capability uses.

Returns

SourceWidget<Name, Props> The normalized widget used by defineWidgetPackage.