<TypeAnimation
sequence={[
"hello world, this is kinda cool",
2000,
"magical machines they are; computers",
2000,
"down with the tyrants",
2000,
]}
preRenderFirstString={true}
splitter={(text) => text.split(" ")}
/>
The above code causes the library to not animate to the next string.
- Splitting each character via
splitter={(text) => text.split("")} works just fine though.
- Oddly enough, if I'm splitting by spaces and set
preRenderFirstString={false} then it also works just fine.