naksha-components-react-x
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Naksha Components React 🗺️

Mapbox GL Components for IndiaBiodiversity


Setup

git clone <REPO>
cd naksha-components-react
yarn # or npm i 
yarn storybook

Build

yarn build

Build storybook

yarn build:storybook

Usage

// global style bundle
import "naksha-components-react/dist/index.css";
 
// Layers
import { Layers } from "naksha-components-react";
 
<Layers
  mapboxToken="pk.xxx"
  endpoint="https://indiabiodiversity.org"
  layersPanelClosed={true}
/>

Package Sidebar

Install

npm i naksha-components-react-x

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Unpacked Size

982 kB

Total Files

52

Last publish

Collaborators

  • harshzalavadiya