Documentation
On this page

Function · Core and Composition

defineCustomControl

Creates a typed TSX tag for a statically packaged managed custom-control descriptor.

@sharpts/gui · SharpTS 572a2e31be0e

Signature

TypeScript
defineCustomControl(kind: string): CustomControlComponent<P>

Parameters

NameTypeDescription
kindstringProvider-qualified descriptor name such as `vendor.widgets.Control`.

Returns

CustomControlComponent<P> — A component value that creates the packaged control.

Source

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:61 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.