// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { useState } from "preact/hooks"; import { type ReData, SingleEstimateResult } from "./data.js"; import { EstimatesOverview } from "./estimatesOverview.js"; import { ReTable } from "./reTable.js"; import { SpaceChart } from "./spaceChart.js"; import { Spinner } from "./spinner.js"; export function EstimatesPanel(props: { estimatesData: ReData[]; colors: string[]; runNames: string[]; calculating: boolean; onRowDeleted: (rowId: string) => void; allowSaveImage?: boolean; }) { const [estimate, setEstimate] = useState(null); return ( <>
{props.calculating ? ( ) : null}

Microsoft Quantum Resource Estimator

Warning: This version of QRE is deprecated and will be removed in a future release. Please use the new version of QRE in qdk.qre. Refer to{" "} aka.ms/qdk.QREv3 for more information.

{!estimate ? null : ( <>
Space diagram
Resource Estimates
)} ); }