mg-work-timer
v0.1.25
Published
Timer app to register work and rest starting and finishig times
Downloads
20
Maintainers
Readme
mg-work-timer
mg-work-timer is a React-typescript package to have a simple stopwatch to register work and resting daily times for your employees or for yourself.
Installation
npm install mg-work-timer
Use
import { Timer } from 'mg-work-timer'
function App() {
return (
<>
<Timer />
<>
)
}
export default App
To use the Login system create a project on Firebase, activate auth, enable the login with email at authentication options and change the firebaseConfig data at /src/firebaseConfig.ts to your own data
const firebaseConfig = {
apiKey: "____________________________________",
authDomain: "___________.firebaseapp.com",
projectId: "___________",
storageBucket: "___________.appspot.com",
messagingSenderId: "000000000000",
appId: "1:000000000000:web:__________________",
measurementId: "G-__________",
}
Funding
If you find it useful please support my work!