@while-and-for/react-jotform
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-jotform

A React component to embed the Jotform iframe https://www.jotform.com/

This handles the resize mechanism provided by JotForm.

npm GitHub issues

Install

npm install react-jotform

Usage

import Jotform from 'react-jotform';

<Jotform 
  src="https://form.jotform.com/123456789" 
  defaults={{
    name: 'John'
  }}
/>

Props

  • src : The url of your jotform, as given in their publish section.
  • defaults: An object to define defaults values for the jotform.
  • scrolling : A boolean to allow or disallow scrolling. Scrolling is turned off by default.
  • title: A title for the jotform.

Readme

Keywords

Package Sidebar

Install

npm i @while-and-for/react-jotform

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

18.4 kB

Total Files

5

Last publish

Collaborators

  • reganwhileandfor
  • danielwhileandfor