Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs Usage Issue [ Property 'l-bouncy' does not exist on type 'JSX.IntrinsicElements' ] #32

Open
MarcosDAD opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@MarcosDAD
Copy link

I've tried the dynamic import from the nextjs guide, but I'm still facing the same issue.

I'm using:
next 15.0.4
react 19
tried with ldrs 1.0.1 and 1.0.2

@GriffinJohnston
Copy link
Owner

GriffinJohnston commented Dec 19, 2024

I can confirm the issue. The current solution isn't working for the latest versions of Next. I have to investigate, but for now, you can fix this by including the following:

declare module "react" {
  namespace JSX {
    interface IntrinsicElements {
      'l-bouncy': {
        size?: string | number
        color?: string | number
        speed?: string | number
      }
    }
  }
}

Alternately you can use the raw HTML/CSS.

@GriffinJohnston GriffinJohnston self-assigned this Dec 19, 2024
@GriffinJohnston GriffinJohnston added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants