registerSwatchSource
@zylem/game-lib / catalog / registerSwatchSource
Function: registerSwatchSource()
registerSwatchSource(
source): () =>void
Defined in: packages/game-lib/src/lib/entities/swatch-registry.ts:65
Register one swatch source, replacing any existing source of the same kind and id so a host can override a built-in.
Parameters
source
Returns
An unregister function.
() => void