1.2.1 • Published 4 years ago

binary-clock-react v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Binary Clock React Component

Customizable binary clock component.

Example

Sample

Features

  • ~1.3 KB size.
  • Customizable styles.

Installation

npm i binary-clock-react

Usage

import { BinaryClock } from "binary-clock-react";

<BinaryClock />

Customization

{
    // pass your classname to customize the root container style
    rootClassName: <custom-class-name>,
    
    // pass your classname to customize the bulb when it's on
    bulbOnClassName: <custom-class-name>,
    
    // pass your classname to customize the bulb when it's off
    bulbOffClassName: <custom-class-name>,
}