react-krpano-toolkit
Version:
A React toolkit for KRPano integration with reusable functions and screen/hotspot configuration management
17 lines (16 loc) • 333 B
TypeScript
import type { BlendMode } from ".";
export interface HotspotConfig {
name: string;
ath: number;
atv: number;
onclick?: string;
}
export interface SceneConfig {
name: string;
blend?: BlendMode;
hotspots?: HotspotConfig[];
}
export interface Config {
scenes: SceneConfig[];
defaultScene?: string;
}