0.1.3 • Published 5 years ago

react-typical v0.1.3

Weekly downloads
1,263
License
MIT
Repository
github
Last release
5 years ago

react-typical

React Animated typing in ~400 bytes 🐡 of JavaScript.

DEMO

React Typical

Based on awesome typical library by @camwiegert

NPM JavaScript Style Guide

React-Typical - Animated typing without the headaches

Youtube Video Tutorial

react-typing-indicator-thumbnail-v2

Install

npm install --save react-typical

Usage

import React, { Component } from 'react'
import Typical from 'react-typical'

class Example extends React.Component {
  render () {
    return (
      <Typical
        steps={['Hello', 1000, 'Hello world!', 500]}
        loop={Infinity}
        wrapper="p"
      />
    )
  }
}

Properties

propmandatorytypeEg.
stepsyes[]['Hello', 1000, 'World']
wrappernostring'p'
loopnonumber3

License

This library is based on @camwiegert/typical work and it currently is just a wrapper for react.

MIT © catalinmiron