Documentation
On this page

Type alias · Core and Composition

Component

Function component that returns GUI content.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:162 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.