1.1.0 • Published 5 years ago

use-typing-effect v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

use-typing-effect

React hook for emulating a person typing; great for landing pages, input placeholders and more!

NPM JavaScript Style Guide

demo

DEMO

Install

npm install --save use-typing-effect

Usage

import * as React from 'react';

import useTypingEffect from 'use-typing-effect';

const Example = () => {
  const heading = useTypingEffect(['Some text here', 'More text here'], {
    loop: true
  });
  return <h1>{heading}</h1>;
};

License

MIT © Hermanya

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago