Skip to content

gk3000/blinking-prompt-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A blinking prompt animation React component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published