TextTyper
Used to display TextTyper animation.
Props:
textList
Description: An array containing texts to display. Is suported until 8 texts. Type: string[]. Required.
textDelay
Description: Text delay in MS. Type: Number.
wrapper
Description: HTML element to render the animation. Type: "p" | "h1" |"h2" | "h3" | "h4" | "h5" | "h6".
repeatTimes
Description: Number of times to repeat the whole animation. Type: Number.
showsCursor
Description: If the cursour should be visible. Type: Boolean. Default: true.
className
Description: ClassName. Type: String.
Code
<TextTyperAnimation textList={list} textDelay={100} wrapper='h2' className='' showsCursor />