Documentation
On this page

Function · JSX Runtime

jsxDEV

Creates one GUI element for the automatic JSX development transform.

@sharpts/gui · SharpTS 572a2e31be0e

Signature

TypeScript
jsxDEV(type: any, props: any, key?: any, _isStaticChildren?: boolean, source?: any, _self?: any): GuiElement

Parameters

NameTypeDescription
typeanyFunction component or native GUI control tag.
propsanyProperties and children supplied to the element.
key optionalanyOptional reconciliation key supplied by the JSX transform.
_isStaticChildren optionalbooleanDevelopment-transform marker indicating whether children are static.
source optionalanyOptional source location supplied by the development transform.
_self optionalanyDevelopment-transform owner value reserved for JSX compatibility.

Returns

GuiElement — The immutable GUI element, including its development source location when supplied.

Source

src/SharpTS.Gui.Sdk/GuiPackage/jsx-runtime.ts:39 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.