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.

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