React app
Learn how to add CustomGForm to the React app
Install
pnpm i @customgform-lib/react-customgformAdd to your React component
// ts
import React from 'react';
import CustomGForm from '@customgform-lib/react-customgform';
 
function Example() {
  return <CustomGForm 
    formId="clj5flan90005wnju2yq4k38b"
    prefillFields={{
      '325391704': 'John',
      '1801257527': '[email protected]',
    }}
  />;
}| Option | Type | Description | 
|---|---|---|
| formId | string | CustomGForm Form ID | 
| prefillFields | object | (optional) list of fields to prefill, e.g {"1801257527": "[email protected]"} | 
💡
Replace FORM_ID to your customized CustomGForm form ID.