@faims-project/faims3-map-input
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @faims-project/faims3-map-input

Weekly Downloads

0

Version

1.3.2

License

MIT

Unpacked Size

93.6 kB

Total Files

13

Last publish

Collaborators

  • stevecassidy
  • aragilar
  • denubis