@expofp/floorplan
Version:
Interactive floor plan library for expos and events
15 lines • 552 B
TypeScript
/**
* Port: icon asset provider.
*
* Abstracts away how icon canvases are created (custom image vs fallback).
*/
export type IconName = "source" | "source_inactive" | "destination" | "current" | "current_arrow" | "yah" | "transition" | "transition_up" | "transition_down" | "transition_entry" | "trail";
export interface IconAsset {
readonly canvas: HTMLCanvasElement;
readonly width: number;
readonly height: number;
}
export interface IconProvider {
getIcon(name: IconName): IconAsset;
}
//# sourceMappingURL=iconProvider.d.ts.map