import { SandDanceReact } from './viewer' ; import * as SandDance from '@msrvida/sanddance' ; import * as React from 'react' ; import * as ReactDOM from 'react-dom' ; /**
 * References to dependency libraries.
 */ export interface Base { react : typeof React ; reactDOM : typeof ReactDOM ; } export const base = { react : null , reactDOM : null } ; param react param vega param deck deck param layers deck param luma luma export function use ( react , reactDOM , vega , deck , layers , luma ) { SandDance . VegaDeckGl . use ( vega , deck , layers , luma ) ; base . react = react ; base . reactDOM = reactDOM ; SandDanceReact . prototype = react . Component . prototype as any ; }