digital-watch-react
v1.0.0
Published
An npm package to know the information of timezone
Downloads
3
Readme
digital-watch-react
digital-watch-react
is an npm package that displays the current time for a selected timezone. The time updates every second, and users can select their preferred timezone from a dropdown menu.
https://github.com/Apurba3036/react-timezone-compo
Installation
npm i digital-watch-react
Usage in react file
Suppose there is a react file named test.jsx in your project and now import the TimeDisplay
component in your file and include it in your code.
// Test.jsx
import React from 'react';
import { TimeDisplay } from 'digital-watch-react';
import './Test.css';
const Test = () => {
return (
<div>
<TimeDisplay />
</div>
);
};
Start Your Project
npm run dev #for vite