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) 384 B
"use strict";const e=require("react/jsx-runtime"),i=require("react-router"),c=require("../ResponsiveContainer.js"),s=require("@devgateway/wp-react-lib"),u=({header:t,footer:o})=>{const{lan:n,slug:r}=i.useParams();return e.jsx(c,{header:t,footer:o,children:e.jsx(s.PostProvider,{slug:r,store:r,locale:n,children:e.jsx(s.PostConsumer,{children:e.jsx(s.Post,{})})})})};module.exports=u;