diff --git a/component/ChartOrSandbox.tsx b/component/ChartOrSandbox.tsx index f27e70977..8c5c8429b 100644 --- a/component/ChartOrSandbox.tsx +++ b/component/ChartOrSandbox.tsx @@ -13,6 +13,7 @@ type ChartOrSandboxProps = { height?: number; maxWidth?: number; caption?: string | ReactNode; + fileToOpen?: string; }; export const ChartOrSandbox = ({ @@ -21,6 +22,7 @@ export const ChartOrSandbox = ({ height = 400, maxWidth = 800, caption, + fileToOpen, }: ChartOrSandboxProps) => { const [showSandbox, setShowSandbox] = useState(false); @@ -38,7 +40,7 @@ export const ChartOrSandbox = ({ {showSandbox ? (
- +