react-jotform
v1.0.2
Published
"A React component to embed the Jotform iframe"
Downloads
1,333
Readme
react-jotform
A React component to embed the Jotform iframe https://www.jotform.com/
This handles the resize mechanism provided by JotForm.
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.