Closed HugoMito closed 2 years ago
Well, this package ignores "empty" variable, so you can do a small trick by wrapping your space character with special symbol Word Joiner:
{"Please, wait...".split("").map((character, index) => {
return <TextTransition
className="loading"
delay={index * 70}
direction="up"
inline
key={index}
noOverflow
text={character === ' ' ? ' ' : character} />
})}
Thanks a lot @ch3rn1k! That trick worked perfectly fine.
I am closing this issue. Regards,
Hi support team,
Could you guide me on how to render a space?
The code above displays:
Please,wait...
Thanks for your support!