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.

8 lines (7 loc) 347 B
import { jsx as n } from "react/jsx-runtime"; import e from "react"; import { CategoriesContext as m } from "./DataContext.js"; const s = (r) => /* @__PURE__ */ n(m.Consumer, { children: (t) => t && /* @__PURE__ */ n(e.Fragment, { children: e.Children.map(r.children, (o) => e.cloneElement(o, { ...r, data: t })) }) }); export { s as default };