Code Monkey home page Code Monkey logo

Comments (6)

alvaro-escalante avatar alvaro-escalante commented on May 23, 2024 1

@Norserium, yes, I had to implement these resolutions on package.json https://stackoverflow.com/questions/71791347/npm-package-cannot-be-used-as-a-jsx-component-type-errors

from react-indiana-drag-scroll.

Norserium avatar Norserium commented on May 23, 2024

@alvaro-escalante, did you solve the issue?

from react-indiana-drag-scroll.

Norserium avatar Norserium commented on May 23, 2024

@alvaro-escalante, thanks for the information. It could be helpful for other fellows.

from react-indiana-drag-scroll.

MatiSera avatar MatiSera commented on May 23, 2024

Hi! I'm still having this issue. Do you know if there's anything else I can do?
I try the solution of adding the "resolutions" objects

from react-indiana-drag-scroll.

Norserium avatar Norserium commented on May 23, 2024

@MatiSera, what's version of react and react-indiana-drag-scroll do you use?

from react-indiana-drag-scroll.

MatiSera avatar MatiSera commented on May 23, 2024

@Norserium "react": "18.2" "react-indiana-drag-scroll" :"^2.2.0"

I solved the issue, declaring the module on a declaration.d.ts file
eg:

declare module 'react-indiana-drag-scroll' {
  const scrollContainer: FC
  export = ScrollContainer
}

from react-indiana-drag-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.