Skip to content

camlegleiter/react-blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@camlegleiter/react-blink

Bringing back the classic <blink> tag to React!

Installation

$ yarn add @camlegleiter/react-blink

Usage

import ReactDOM from 'react-dom';
import Blink from '@camlegleiter/react-blink';

ReactDOM.render(
  <Blink rate={1000}>This text is blinking!</Blink>,
  document.body,
);

Props

rate

Type: Number Default: 1000

The rate (in milliseconds) at which the text will flash.

className

Type: String Default: ""

Any specific classes to add to the Blink component for display.

Scripts

$ yarn build

License

MIT

About

Bringing back the classic <blink> tag to React!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published