/faims3-qrcode-input

Form field plugin to support QR Code reading

Primary LanguageTypeScript

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