import React, { useState } from "react"; import type { Meta } from "@storybook/react"; import { DownloadDialog } from "../components/download-dialog/DownloadDialog"; import { MockAdminClient } from "./MockAdminClient"; export default { title: "Download Dialog", component: DownloadDialog, } as Meta; const Test = () => { const [open, setOpen] = useState(false); const toggle = () => setOpen(!open); return ( '{some: "json"}' } }} > ); }; export const Show = () => ;