We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63e1ebf commit b3eea64Copy full SHA for b3eea64
README.md
@@ -33,7 +33,7 @@ A common typewriter animation for a landing page could look like this:
33
```jsx
34
import { TypeAnimation } from 'react-type-animation';
35
36
-const ExampleComponent = () => {
+const ExampleComponent = ({ onEndTypeAnimation }) => {
37
return (
38
<TypeAnimation
39
sequence={[
@@ -46,6 +46,7 @@ const ExampleComponent = () => {
46
1000,
47
'We produce food for Chinchillas',
48
49
+ (element) => onEndTypeAnimation?.(element),
50
]}
51
wrapper="span"
52
speed={50}
0 commit comments