@taystack/use-typed-text
v0.1.0
Published
React 16.8 hook to make it look like someone is typing
Downloads
8
Readme
@taystack/use-typed-text
React 16.8 hook to make it look like someone is typing
Install
npm install --save @taystack/use-typed-text
Usage
import React from "react"
import { useTypedText } from "@taystack/use-typed-text"
const Example = () => {
const [text, setText] = useTypedText();
useEffect(() => {
setText("hello world");
}, []);
return (<div>{text}</div>);
}
License
MIT © taystack
This hook is created using create-react-hook.