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

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

Open
jaballogian opened this issue Feb 5, 2022 · 0 comments

Comments

@jaballogian
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant