ink-text-animation
A text animation component for Ink
Install
$ npm install --save ink-text-animation
Usage
;; ;
API
<TextAnimation />
Accepts a string or an Ink component as children
.
Props
name
Type: string
Default: rainbow
Values: rainbow
pulse
glitch
radar
neon
The name of the animation. You can find all the available animations in the
chalk-animations
README.
speed
Type: number
Default: 1
The speed of the animation.
License
MIT © Yarden Sod-Moriah