EdernClemente / TypeLighterJS-Typewriter

Take a stride into the world of dynamic and appealing typewriters. You can be sure that you will never even think of looking back.
MIT License
287 stars 12 forks source link

Works inside react for example? How it would be? #1

Closed djalmaaraujo closed 5 years ago

giocodes commented 5 years ago

@djalmaaraujo here's a quick React implementation with Hooks https://codesandbox.io/embed/typelighter-example-i4jrt

Notice that I had to fork and make the class and method exportables to use them after the markup was already rendered.

@EdernClemente nice work here! Have you consider publishing it as an npm package?

djalmaaraujo commented 5 years ago

Nice. Thanks @giocodes =)

EdernClemente commented 5 years ago

Hello. Thanks for your answer @giocodes. 👍 I published the project as an npm package yesterday, and also created a CDN version. Have a nice day =)

giocodes commented 5 years ago

Happy to help! Awesome, I tried the npm install and added some comments over here https://github.com/EdernClemente/TypeLighterJS/issues/2

Hope it helps!