Function · Core and Composition
defineCustomControl
Creates a typed TSX tag for a statically packaged managed custom-control descriptor.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
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
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:61 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.