Function · Core and Composition
defineCustomControl
Creates a typed TSX tag for a statically packaged managed custom-control descriptor.
@sharpts/gui · SharpTS 572a2e31be0eSignature
TypeScript
defineCustomControl(kind: string): CustomControlComponent<P>Parameters
| Name | Type | Description |
|---|---|---|
kind | string | Provider-qualified descriptor name such as `vendor.widgets.Control`. |
Returns
CustomControlComponent<P> — A component value that creates the packaged control.
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:61 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.