2.0.7 • Published 1 year ago
@types/react-typing-effect v2.0.7
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
// Type definitions for react-typing-effect 2.0
// Project: https://github.com/lamyfarai/react-typing-effect#readme
// Definitions by: Debananda <https://github.com/Debananda>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Component } 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: Mon, 10 Jan 2022 21:31:42 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Debananda.