1.0.0 • Published 5 years ago

typist-react v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

typist-react

A React Component that makes a cool typing effect

Usage

Typist react is very simple to use

Props

Only one of the props is required, the rest of them is optional

  1. text: string | required
  2. color: string
  3. fontSize: string
  4. fontFamily: string
  5. blinkTime: number
  6. typingTime: number

Example

Here is an example using all the props

import Typist from "typist-react";

function MyComponent() {
  return (
    <Typist
      text="My Awesome text"
      color="#ffffff"
      fontSize="2.5em"
      fontFamily="monospace"
      blinkTime={1}
      typingTime={4}
    />
  );
}

Typist Example: A text being typed in the screen

1.0.0

5 years ago