react-timeline-9000 icon indicating copy to clipboard operation
react-timeline-9000 copied to clipboard

Failed to import the Timeline component and request for a real working playground

Open jaballogian opened this issue 3 years ago • 0 comments

Hello,

This timeline component is really impressed me. I have been looking for several months to search for a powerful timeline component like this library.

I have a question and a request for you guys.

I tried to use this library react-timeline-9000 in the https://codesandbox.io/s using a simple react Js app template there. I always use the code sandbox for trying some react js libraries. When I imported the Timeline component from this react-timeline-9000 library, I got an error as shown in the image below. image

Here is the error message:

ModuleNotFoundError: Could not find module in path: 'react-timeline-9000/src/timeline.js' relative to '/src/App.jsx'

If I removed/commented the Timeline component, the app worked as seen in the screenshot below. image

So my question is what's wrong with the import statement?

I have to read the timeline and demo component files but a lot of people prefer importing react-timeline-9000 rather than copying and pasting all components and codes needed from this repository.

Then my request is could you please create a playground to tell us how to use these react-timeline-9000 components and props properly?

You could use https://codesandbox.io/s for creating the playground. A lot of documentation use code sandbox as their playground.

jaballogian avatar Feb 05 '22 14:02 jaballogian