snelsi / next-hubspot

⭐Embed Hubspot forms in your Next.js application
MIT License
64 stars 8 forks source link

Configuration option for region is not included in HubspotFormProps #134

Closed mcortes19 closed 8 months ago

mcortes19 commented 8 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Add a component and use the Region property
  2. I get a typescript error saying: Property 'region' does not exist on type 'IntrinsicAttributes & HubspotFormProps'

Expected behavior A clear and concise description of what you expected to happen.

snelsi commented 8 months ago

We have a ticket related to improving Hubspot types here: https://github.com/snelsi/next-hubspot/issues/1

Feel free to push a PR with types declaration file update 👇 https://github.com/snelsi/next-hubspot/blob/master/src/hubspot.types.ts

snelsi commented 8 months ago

Published as v1.3.0