A React component to render HubSpot forms.
npm install react-hubspot-formA React component to render HubSpot forms.
With npm:
``bash`
npm install --save react-hubspot-form
Or with Yarn:
`bash`
yarn add react-hubspot-form
`jsx
import HubspotForm from 'react-hubspot-form'
...
formId='your_form_id'
onSubmit={() => console.log('Submit!')}
onReady={(form) => console.log('Form ready!')}
loading={
You can also set any additional options that HubSpot provides as properties in the component.