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
@@ -123,7 +123,7 @@ This function will be called when the typing animation finishes. It will be call
123
123
124
124
**Default**: `(str: string) => str.split('')`
125
125
126
-
`Typist` will use this to get tokens from strings. It may be useful when you want to split your string in different way. For example, you can use [grapheme-splitter](https://github.com/orling/grapheme-splitter) to split string if your string contains emoji.
126
+
`Typist` will use this function to get tokens from strings. It may be useful when you want to split your string in different way. For example, you can use [grapheme-splitter](https://github.com/orling/grapheme-splitter) to split string if your string contains emoji.
127
127
128
128
```tsx
129
129
importGraphemeSplitterfrom'grapheme-splitter';
@@ -150,7 +150,7 @@ Will be inserted after the last typed token.
150
150
151
151
**Default**: `false`
152
152
153
-
If this value is `true`, the result will be displayed immediately without typing animation. It can be useful if you don't want the typing effect anymore.
153
+
If this value is `true`, the result will be displayed immediately without typing animation. It can be useful when you want to display the final result if a user has visited the typing animation.
154
154
155
155
#### `restartKey`
156
156
@@ -190,4 +190,4 @@ type Props = {
190
190
191
191
#### `children`
192
192
193
-
Children inside this component will be pasted without typewriter effect.
193
+
Children inside this component will be pasted without typewriter effect. Do not wrap another `Paste` inside this component, otherwise `Typist` will produce weird behavior.
0 commit comments