@devgateway/dvz-ui-react
Version:
A modular, embeddable React component library for data visualization and UI, built with TypeScript. Provides reusable components for charts, maps, dashboards, and more, with built-in support for internationalization and Redux integration.
20 lines (19 loc) • 570 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import { useParams as n } from "react-router";
import i from "../ResponsiveContainer.js";
import { PostProvider as m, PostConsumer as l, Post as a } from "@devgateway/wp-react-lib";
const d = ({ header: t, footer: e }) => {
const { lan: s, slug: r } = n();
return /* @__PURE__ */ o(i, { header: t, footer: e, children: /* @__PURE__ */ o(
m,
{
slug: r,
store: r,
locale: s,
children: /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(a, {}) })
}
) });
};
export {
d as default
};