You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great plugin!
One use case of such a plugin is often to display someone writing code.
We might want to style the text to represent tags, values, attributes, etc... differently.
Or at least if too difficult it would be a great addition to be able to apply a distinct style to each line.
Thanks
The text was updated successfully, but these errors were encountered:
this package was initially intended for simple text to keep the bundle size low.
You could maybe compose different animation components to make the illusion of multi-line typing like here #9 (comment) but even then, you'd only be able to style all of the text inside the wrapper, which wouldn't allow you to granularly style the text as you described.
Instead, you could maybe check out this package: https://www.npmjs.com/package/react-typing-animation. It's a bit old and not actively updated, but from what I know it's capable of doing exactly what you're looking for (keep in mind that it has a ~10x larger bundle size).
But yes, you're right, we could fork the code from the above linked package, optimize/extend it and export it as a separate component from this package at some point in the future but that won't be a quickly-done task.
Great plugin!
One use case of such a plugin is often to display someone writing code.
We might want to style the text to represent tags, values, attributes, etc... differently.
Or at least if too difficult it would be a great addition to be able to apply a distinct style to each line.
Thanks
The text was updated successfully, but these errors were encountered: