Skip to content

ismailsalmi/use-react-typing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React hook to type your text with animation

Built to be used with create-react-app, nextjs, gatsby, or react-static.

See it in demo

import and how to use

import {useTyping} from "use-react-typing";

export default Home = () => {
    const [text, setText] = useTyping({ delay: 50, late: 1000, locale: "en"});
    setText("Welcome to our restarant ✌.");
    return (
          <div>
            {text}
          </div>
    );
};

To add in your project, add this in terminal

npm i use-react-typing

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published