1.3.2 • Published 2 years ago

@faims-project/faims3-map-input v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

faims3-map-input

Map based input widget for FAIMS3

NPM JavaScript Style Guide

Install

npm install --save @faims-project/faims3-map-input

Usage

import React, { Component } from 'react'
import { Field, Form, Formik } from 'formik';
import MapFormField from '@faims-project/faims3-map-input'

class Example extends Component {
  render() {
      return <Formik>
                <Form>
                  <Field name="circle" featureType="Circle" component={MapFormField} />
                </Form>
             </Formik>
  }
}

License

Apache2 © stevecassidy