blinking-prompt-react

0.1.9 • Public • Published

React blinking prompt component component

A blinking prompt animation React component.

Installation

Run npm i blinking-prompt-react or yarn add blinking-prompt-react in the root of your React project

Usage

In the component where you want to see the animation of blinking prompt

import BlinkingPrompt from 'blinking-prompt-react'

Render passing the props with the prompt to display prompt and blinkInterval (optional) of blinking in milliseconds:

<BlinkingPrompt prompt={'_'} blinkInterval={100}/>

Done at Barcelona Code School

Package Sidebar

Install

npm i blinking-prompt-react

Weekly Downloads

10

Version

0.1.9

License

ISC

Unpacked Size

6.76 kB

Total Files

6

Last publish

Collaborators

  • gk3000