react-embed-jotform-test
v1.0.4
Published
A React component library for easily embedding JotForm forms into your React applications.
Downloads
367
Readme
REACT EMBED JOTFORM
A React component library for easily embedding JotForm forms into your React applications.
INSTALLATION
npm install @symbiotetech/react-embed-jotform
USAGE
import { JotForm } from '@symbiotetech/react-embed-jotform';
function App() {
return (
<JotForm
formId="your-jotform-id-here"
// Optional props
className="jotform-form"
style={{
width: '500px',
}}
/>
);
}
Props
| Prop | Type | Required | Description |
| ----------- | ------------- | -------- | --------------------------------------- |
| formId
| string | Yes | The JotForm form ID to embed |
| className
| string | No | Custom CSS class name for the container |
| style
| CSSProperties | No | Inline styles for the container |
Development
To start development:
Clone the repository
Install dependencies:
npm install
Run Storybook for development:
npm run storybook:dev
Run tests:
npm run test
Made with love by Symbiote