Function · JSX Runtime
jsx
Creates one GUI element for the automatic JSX production transform.
@sharpts/gui · SharpTS 572a2e31be0eSignature
TypeScript
jsx(type: any, props: any, key?: any): GuiElementParameters
| Name | Type | Description |
|---|---|---|
type | any | Function component or native GUI control tag. |
props | any | Properties and children supplied to the element. |
key optional | any | Optional reconciliation key supplied by the JSX transform. |
Returns
GuiElement — The immutable GUI element consumed by the desktop renderer.
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/jsx-runtime.ts:14 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.