import { default as React } from 'react'; import { FieldWidgetComponentProps } from './types.js'; /** * Signature field widget - provides a signature pad for capturing signatures * Outputs signature as a base64 PNG image * * ## Naming, and the half that is deliberately absent (objectui#3318) * * This widget forwarded nothing a host handed it — every branch below wrote its * attributes by hand — so its visible label pointed `for` at an id no element * in the row carried, and the rendered help text had zero consumers. Measured * on `origin/main`, a real form, this field required and freshly failed: * * ``` * signature labelFor=…-form-item -> DANGLING descConsumers=0 ids=[] * ``` * * The name and the description arrive here, on the container, through * {@link toHostGroupProps} — the objectui#3961 route for a widget whose surface * no `