Hi
While installing and using the TypingAnimation component, I noticed a warning related to Tailwind CSS class usage.
The component uses the following class:
However, my editor / Tailwind IntelliSense suggests that this can be simplified to:
with the message:
The class leading-[5rem] can be written as leading-20
I wanted to ask:
- Is the use of
leading-[5rem] intentional here?
- Should this be updated to
leading-20 to align with Tailwind’s recommended utilities, or is there a specific reason to keep the arbitrary value?
Happy to submit a PR or help update the documentation if needed.
Thanks for the great component!