Customizable binary clock component.
~1.3 KB
size.- Customizable styles.
npm i binary-clock-react
import { BinaryClock } from "binary-clock-react";
<BinaryClock />
{
// 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>,
}