Files
md-files/.agents/skills/reveal-3d/code/reveal/context/revealContext.ts
T
2026-05-31 20:25:41 +00:00

13 lines
328 B
TypeScript

import { createContext } from 'react';
import type { Cognite3DViewer } from '@cognite/reveal';
import type { CogniteClient } from '@cognite/sdk';
export interface RevealContextValue {
viewer: Cognite3DViewer;
sdk: CogniteClient;
}
export const RevealContext = createContext<RevealContextValue | undefined>(
undefined
);