import { useRef, useState } from "react"; import { AlertCircle, Camera, Check, Loader2 } from "lucide-react"; import type { SharePayload } from "../lib/share"; import { exportFigure } from "../lib/figureExport"; /** * Small camera button that exports its host view as a paper figure * (one .bundle.zip: SVG + PNG + .provenance.json sidecar — see * lib/figureExport.ts). * Placed on the canvas toolbar, the Multiverse board header, the * Evidence pane header and the Evidence theater. The button itself * never appears in exports (figureExport strips all ); }