← Files DataARCHIVED FILE
templates/data-app/starters/dashboard/content/dashboard/DashboardContent.jsx
568 Bytes · Sep 30, 2026 · 23:19 UTC
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