Documentation
On this page

Type alias · Core and Composition

Component

Function component that returns GUI content.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
Component(props: Readonly<P & { children?: GuiChild }>): GuiChild

Parameters

NameTypeDescription
propsReadonly<P & { children?: GuiChild }>Function component that returns GUI content.

Returns

GuiChild — Function component that returns GUI content.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:145 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.