UNPKG

@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.

2 lines (1 loc) 488 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("react-router"),i=require("../ResponsiveContainer.js"),r=require("@devgateway/wp-react-lib"),l=({header:s,footer:o})=>{const{lan:n,slug:t}=u.useParams();return e.jsx(r.PostProvider,{slug:t,store:t,locale:n,children:e.jsx(i.default,{header:s,footer:o,children:e.jsx(r.PostConsumer,{children:e.jsx(r.Post,{})})})})};exports.default=l;