0.1.0 • Published 4 years ago

@taystack/use-typed-text v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@taystack/use-typed-text

React 16.8 hook to make it look like someone is typing

UseTypedTextNPM JavaScript Style Guide

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.