Skip to content

Commit 9fc34e9

Browse files
committed
added props to example TypeAnimation wrapper
1 parent 13825d4 commit 9fc34e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/components/TypeAnimation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { TypeAnimation } from 'react-type-animation';
2-
import { Speed } from 'react-type-animation/dist/esm/components/TypeAnimation/index.types';
2+
import { TypeAnimationProps } from 'react-type-animation/dist/esm/components/TypeAnimation/index.types';
33

4-
export default function _TypeAnimation(props: any) {
4+
export default function _TypeAnimation(props: TypeAnimationProps) {
55
return (
66
<span className="w-full block bg-blue-400 bg-opacity-10 p-3 rounded-lg">
77
<TypeAnimation {...props} />

0 commit comments

Comments
 (0)