0.5.3 • Published 2 years ago

use-hangul-typewriter v0.5.3

Weekly downloads
1
License
MIT
Repository
-
Last release
2 years ago

use-hangul-typewriter

react hook for hangul typewriter effect

Live Demo

install

npm install use-hangul-typewriter

peer dependency

  • react
  • hangul-js

usage

const Typewriter = ({}) => {
  const texts = ['한글 자소를 분리하여 타이핑', '오늘 날씨는 흐림', '봄 여름 가을 겨울'];
  const [text, toggle, reset, pause, resume] = useHangulTypewriter(texts);
  return <span>{text}</span>;
};

parameters

PropertyTypeDescriptionDefault
textsstring[]texts to display[]
intervalnumberinterval between typing a character100
waitingInterval3000waiting interval after a single line of text is fully entered and before the line is about to start to erase3000
caretstringcaret to display
0.5.3

2 years ago

0.5.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.0

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago