HudWidgetProps beta
Interface of @v12-engine/client
ts
export interface HudWidgetPropsWhat a part's component is given (HudWidgetDef.component)
Members
children
ts
children?: JSX.Element;The client's own part, where the component draws one of the client's: to wrap or to leave out, drawn where the component puts it, and only if it does. Nothing for a part of the game's own
client
ts
client: HudClient;The client around the HUD: its model, commands and settings
widget
ts
widget: string;The widget's id