1.0.0 • Published 11 months ago

@skyhooks/react-use-hubspot v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

react-use-hubspot

HubSpot integration for react.

Usage

click here to see example for more details

function App() {

  const hubSpot = useHubSpot({
    portalId: import.meta.env.VITE_HS_PORTAL_ID,
    formId: import.meta.env.VITE_HS_FORM_ID,
  })

  return (
    <>
      <div>
        <hubSpot.element
          loader={<h2>Load...</h2>}
        />
      </div>
    </>
  )
}

Available options

All options are available based on the hubSpot configuration, Click here to see what options are available

For more details

License

Copyright © 2023 Gihan Rangana(under the skyhooks org) Released under the MIT license.

1.0.0

11 months ago