1.0.0 • Published 2 years ago

@chinggis-systems/timer v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

useTimer

Installation

yarn add @chinggis-systems/timer

Example

import React from 'react';
import { useTimer } from '@chinggis-systems/timer';

export default function App() {
  const { seconds, minutes, restart } = useTimer();
  return (
    <div>
      <div style={{ fontSize: '100px' }}>
        <span>{minutes}</span>:<span>{seconds}</span>
      </div>
    </div>
  );
}
0.7.279

2 years ago

0.7.149

2 years ago

0.7.7

2 years ago

0.6.370

2 years ago

0.6.87

3 years ago

0.6.6

3 years ago

0.6.204

3 years ago

0.6.59

3 years ago

0.6.170

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.5

3 years ago

0.6.4

3 years ago

0.6.199

3 years ago

0.6.155

3 years ago

0.6.198

3 years ago

0.6.1

3 years ago

1.0.1

3 years ago

0.3.51

3 years ago

1.0.0

3 years ago