Have ideas to improve npm?Join in the discussion! »

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

    Keywords

    none

    Install

    npm i binary-clock-react

    DownloadsWeekly Downloads

    0

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    53.5 kB

    Total Files

    23

    Last publish

    Collaborators

    • avatar