enszrlu / NextStep

Lightweight onboarding library for Next.js
https://nextstepjs.com
149 stars 8 forks source link

Error on 'viewportID' when creating steps #5

Closed tylerjusfly closed 1 month ago

tylerjusfly commented 1 month ago

Error: Object literal may only specify known properties, and 'viewportID' does not exist in type 'Step'.ts(2353) (property) viewportID: string

Copied code from right here. https://github.com/enszrlu/NextStep-Website/blob/main/src/lib/steps.tsx

enszrlu commented 1 month ago

Please just delete the viewportID property from any steps in that array.

Website includes the code from v1.1.0 beta, that is why it is happening.

You can copy V.1.0 code from here.

https://nextstepjs.vercel.app/docs?tab=examples&version=1.0.x

If you would like to use beta instead with new features. Install the package like this.

npm install nextstepjs@beta
tylerjusfly commented 1 month ago

Thanks.

tylerjusfly commented 1 month ago

Hi, i'd love to connect and have a chat with you? LinkedIn?

enszrlu commented 1 month ago

Hi, i'd love to connect and have a chat with you? LinkedIn?

You can contact me on twitter.

@AlexZDevs