@ngis/plugin-ui
v0.4.0
Published
Host-connected React components and flow bindings for NeoGIS plugin authors.
Readme
@ngis/plugin-ui
Host-connected React components and flow bindings for NeoGIS plugin authors.
npm install --save-dev @ngis/plugin-sdk @ngis/plugin-ui react @types/reactimport { ResourceSelect } from "@ngis/plugin-ui";
<ResourceSelect
host={host}
value={resourceId}
onChange={setResourceId}
/>;This is a NeoGIS host contract, not a standalone component library. The running
host owns the component implementations and React instance; the npm package
ships their public declarations and lazy host-delegating shims. Plugin builds
must leave react, react-dom, react/jsx-runtime, @ngis/plugin-sdk, and
@ngis/plugin-ui external.
@ngis/plugin-ui and @ngis/plugin-sdk use the same API version.
