react-clok
v1.0.5
Published
An minimal and customizable analog and digital clock for React app.
Downloads
15
Maintainers
Readme
react-clok
Simple and customizable analog and digital clock component for React applications.
Installation
npm install react-clok
# or
yarn add react-clok
Usage
import { AnalogClock, DigitalClock } from "react-clok";
const App = () => (
<>
<AnalogClock />
<DigitalClock />
</>
);
Props
[!NOTE] These props are all optional. If you don't provide any props, the clock will be rendered with the default configuration.
Analog clock
Digital clock
Contributing
If you have any ideas on how to improve this package, feel free to open an issue or submit a pull request. All contributions are welcome!
License
Licensed under the MIT License.
Author
Made with 🍠 by Nhan Luong