Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 615 Bytes

README.md

File metadata and controls

46 lines (30 loc) · 615 Bytes

@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