Installation
npm install --save @types/react-typing-effect
Summary
This package contains type definitions for react-typing-effect (https://github.com/lamyfarai/react-typing-effect#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-typing-effect.
index.d.ts
import { Component, JSX } from "react";
export interface ReactTypingEffectProps {
text: string | string[];
staticText?: string | undefined;
className?: string | undefined;
speed?: number | undefined;
eraseDelay?: number | undefined;
eraseSpeed?: number | undefined;
typingDelay?: number | undefined;
cursor?: string | undefined;
cursorClassName?: string | undefined;
displayTextRenderer?(text: string, i: number): JSX.Element;
}
export default class ReactTypingEffect extends Component<ReactTypingEffectProps> {}
Additional Details
- Last updated: Wed, 06 Dec 2023 06:36:35 GMT
- Dependencies: @types/react
Credits
These definitions were written by Debananda.