hacifootprint
hcifootprint/reactType Aliases

ControlSpec

Type Alias: ControlSpec

ControlSpec = Omit<ControlDeclaration, "element">

Defined in: src/react/use-control.ts:42

What a component declares about one control: the core's own ControlDeclaration minus the element, because the ref supplies that.

DERIVED, NEVER RESTATED. A field the core grows arrives here for free, and the two can never drift into describing different things.

On this page