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.

12 lines (11 loc) 270 B
import * as i from "d3"; const e = (r) => new Promise((t, c) => { i.json(r).then(function(o, n) { n && console.log("Error loading JSON: " + n), t(o); }).catch(function(o) { console.error("Error loading JSON:", o), c(o); }); }); export { e as loadJSON };