React hook for emulating a person typing; great for landing pages, input placeholders and more!
npm install --save use-typing-effect
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>;
};
MIT © Hermanya
This hook is created using create-react-hook.