@types/react-typing-effect
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-typing-effect

Weekly Downloads

849

Version

2.0.7

License

MIT

Unpacked Size

3.82 kB

Total Files

5

Last publish

Collaborators

  • types