(
react: typeof React,
reactDOM: typeof ReactDOM,
vega: SandDance.VegaDeckGl.types.VegaBase,
deck: SandDance.VegaDeckGl.types.DeckBase,
layers: SandDance.VegaDeckGl.types.DeckLayerBase,
luma: SandDance.VegaDeckGl.types.LumaBase,
)
| 27 | * @param luma @luma.gl/core library. |
| 28 | */ |
| 29 | export function use( |
| 30 | react: typeof React, |
| 31 | reactDOM: typeof ReactDOM, |
| 32 | vega: SandDance.VegaDeckGl.types.VegaBase, |
| 33 | deck: SandDance.VegaDeckGl.types.DeckBase, |
| 34 | layers: SandDance.VegaDeckGl.types.DeckLayerBase, |
| 35 | luma: SandDance.VegaDeckGl.types.LumaBase, |
| 36 | ) { |
| 37 | SandDance.VegaDeckGl.use(vega, deck, layers, luma); |
| 38 | base.react = react; |
| 39 | base.reactDOM = reactDOM; |
| 40 | |
| 41 | //inform React that we are using a dynamic base class |
| 42 | SandDanceReact.prototype = react.Component.prototype as any; |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected