use-typing-effect
v1.1.0
Published
React hook for emulating a person typing; great for landing pages, input placeholders and more!
Downloads
2
Readme
use-typing-effect
React hook for emulating a person typing; great for landing pages, input placeholders and more!
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