@datopian/map-builder

0.1.9 • Public • Published

npm version

This project was bootstrapped with Create React App.

Quick start

Install:

yarn add @datopian/map-builder

Usage:

import { MapBuilder } from '@datopian/map-builder'

function App() {
  // View should have compiled resources so that schema is available
  const view = {
    resources: [...]
  }
  // Define redux `action`

  return (
    <MapBuilder view={view} dataViewBuilderAction={action} />
  )
}

Dev

We use cosmos to do dev:

yarn cosmos

Checkout __fixtures__ dir for details.

Compile package

For publication, run yarn build:package to compile package to /dist using babel

/@datopian/map-builder/

    Package Sidebar

    Install

    npm i @datopian/map-builder

    Weekly Downloads

    8

    Version

    0.1.9

    License

    none

    Unpacked Size

    1.81 MB

    Total Files

    34

    Last publish

    Collaborators

    • luccasmmg
    • demenech
    • anuveyatsu