← Files DataARCHIVED FILE

templates/data-app/starters/dashboard/content/dashboard/DashboardContent.jsx

568 Bytes · Oct 4, 2026 · 12:03 UTC

↓ Download file

import React from "react";
import { Filters, useDataApp } from "../../data-app-public.jsx";

// Compose only the reviewed measurements needed for this dashboard's job.
// Resolve current component docs through the AGENTS.md workflow before authoring.
// This empty starter is scaffolding, not a completed dashboard.
export function DashboardContent() {
  const { snapshot, queries, filters, setFilter } = useDataApp();
  return snapshot.filters?.length
    ? <Filters filters={snapshot.filters} queries={queries} values={filters} onChange={setFilter} />
    : null;
}

SHA-256: d8417fc00898ae59ca846dd385d7f1e0bc9e0398039089572710b9e1762978bb