@skyhooks/react-use-hubspot
v1.0.0
Published
HubSpot integration for react.
Downloads
89
Readme
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
License
Copyright © 2023 Gihan Rangana(under the skyhooks org) Released under the MIT license.