import { m as s } from "./publicApi-fkG2o0UD.js";
import { d as t, E as o, a as e } from "./EnterpriseViewOnlyPreset-CW0maUhb.js";
const d = ({
  dashboardDefinition: r
}) => r ? /* @__PURE__ */ s.jsx(
  t.DashboardContextProvider,
  {
    preset: o,
    initialDefinition: r,
    children: /* @__PURE__ */ s.jsx(e.DashboardCore, { width: "100%", height: "auto" })
  }
) : null;
export {
  d as CustomDashboard,
  d as default
};
