Skip to content

Function: lightSpecFromComponentValue() ​

lightSpecFromComponentValue(componentName, value): LightSpec

Defined in: packages/core/src/lighting/light-system.ts:214

Convert one serialized component payload to the shared light specification.

Parameters ​

componentName ​

string

value ​

unknown

Returns ​

LightSpec

Privacy | Terms