1.0.2 • Published 4 years ago

react-ityped v1.0.2

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

react-ityped is a react component that wraps https://www.npmjs.com/package/ityped package

npm CodeFactor npm bundle size NPM JavaScript Style Guide

🕺 Install

by using npm:

$ npm i react-ityped 

by using yarn:

$ yarn add react-ityped

☕️ Features

ads

🔧 Props

Common props you may want to specify include:

NameTypeDiscriptionDefault
stringsstring[]An array with the strings that will be animated['Put your strings here...', 'and Enjoy!']
cursorCharstringCharacter for cursor"|"
typeSpeednumberType speed in milliseconds100
backSpeednumberType back speed in milliseconds50
startDelaynumberTime before typing starts50
backDelaynumberTime before backspacing500
loopbooleanThe animation loopfalse
showCursorbooleanShow the cursor elementtrue
placeholderbooleanWrite the string in the placeholder contentfalse
disableBackTypingbooleanDisable back typing for the last string sentencefalse

See the props documentation for complete documentation on the props that react-ityped supports.

Build

License

MIT © Enes Usta