React Animated typing in 400 bytes of JavaScript Sample in 2020

React Animated typing in 400 bytes of JavaScript Sample in 2020


tutorials -

react-typical

React Animated typing in 400 bytes of JavaScript,Based on awesome typical library by @camwiegert.

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

prop mandatory type Eg.
steps yes [] ['Hello', 1000, 'World']
wrapper no string 'p'
loop no number 3

GitHub

Trending On Tutorial Stuff

Our Sponsors

Top Applications in Tutorial Stuff

Top Experts In Tutorial Stuff