Skip to content

chrismilson/react-not-typist

Repository files navigation

React Not Typist

React component for cycling through different strings. A lot of similar components will cycle through with a typing animation. This component offers a different style.

Demo

The component in action

Also on codepen.

Installation

npm install react-not-typist --save

Usage

import NotTypist from 'react-not-typist';

function Reaction (props) {
  return (
    <p>
      That was <NotTypist 
        words={[
          'exciting',
          'interesting',
          'frightening'
        ]}
      />.
    </p>
  )
}