1.0.0 • Published 4 years ago

type-writer-text v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

type-writer-text

lightweight spinner library

NPM JavaScript Style Guide

Install

npm install --save type-writer-text

Usage

Basic

import * as React from 'react'

import { TypeWriterText } from 'type-writer-text'

class App extends React.Component {
  render () {
    return (
      <TypeWriterText text={"Happy Quarantine"} />
    )
  }
}

Passing Props

Animation Speed :

Cursor Props :

import * as React from 'react'

import { TypeWriterText } from 'type-writer-text'

class App extends React.Component {
  render () {
    return (
      <TypeWriterText text={"Happy Quarantine"} animationSpeed = {100} cursorProps = {{ color: 'rgba(0,0,0,0.87)', blinkSpeed: '0.8s' }} showCursor = {true} />
    )
  }
}

License

MIT © HRSHDG8