import { useState } from "react"; import DashboardGrid from "../../../govoplan-dashboard/webui/src/features/dashboard/DashboardGrid"; import "../../../govoplan-dashboard/webui/src/styles/dashboard.css"; import Button from "../src/components/Button"; import { DocumentationHelpProvider } from "../src/components/help/DocumentationHelpLink"; import type { AuthInfo, DashboardWidgetContribution } from "../src/types"; const auth: AuthInfo = { user: { id: "widget-user", account_id: "widget-account", email: "widget@example.test" }, tenant: { id: "widget-tenant", name: "Widget fixture", slug: "widget" }, scopes: [], roles: [], groups: [], profile_loaded: true, roles_loaded: true, groups_loaded: true }; const widget: DashboardWidgetContribution = { id: "fixture.scheduling", title: "Scheduling requests", documentation: { topicId: "scheduling.find-and-decide-meeting-time", documentationType: "user" }, render: () =>

Existing requests

}; const ignore = () => undefined; export default function WidgetHeadingHelpScenario() { const [configuring, setConfiguring] = useState(false); const [preview, setPreview] = useState(false); return
; }