Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 931 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 931 Bytes

faims3-qrcode-input

QRCode input widget plugin 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 QRCodeFormField from '@faims-project/faims3-qrcode-input'

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

License

Apache2 © stevecassidy