Skip to content

@maxhealth.tech/prefab / renderer / registerComponent

Function: registerComponent() ​

ts
function registerComponent(type, fn): void;

Defined in: renderer/engine.ts:114

Register a render function for a component type

Parameters ​

ParameterType
typestring
fnRenderFn

Returns ​

void

Released under the MIT License.