binary-clock-react
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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>,
}

Readme

Keywords

none

Package Sidebar

Install

npm i binary-clock-react

Weekly Downloads

5

Version

1.2.1

License

MIT

Unpacked Size

53.5 kB

Total Files

23

Last publish

Collaborators

  • anirudh-janga