@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) • 421 B
JavaScript
;const t=require("react/jsx-runtime"),a=require("react"),o=e=>{const[s,d]=a.useState(Math.random()*99998+1),{"data-width":c,"data-height":i,"data-name":r,parent:h,editing:u,component:m,unique:l}=e;let n=()=>t.jsx("div",{children:"Not found"});return n=a.lazy(()=>import("../"+r+"/")),t.jsx("div",{style:{width:"100%",height:i+"px"},className:"parallax-container",children:t.jsx(n,{...e})})};module.exports=o;