Displays how many hours, minutes and seconds are left until a certain hour, minute and second.
React component that displays the time remaining until a certain hour, minute and second.
- Install the component
$ npm install --save @wniemiec-component-react/remaining-time
- Import the component
import RemainingTime from '@wniemiec-component-react/remaining-time';
- Use it
[...]
import React from 'react';
[...]
<RemainingTime
hours={12}
minutes={59}
seconds={0}
/>
[...]
Property | Type | Description | Default |
---|---|---|---|
hours | number |
Hour | 23 |
minutes | number |
Minute | 59 |
seconds | number |
Second | 59 |
Details about each version are documented in the releases section.
See the documentation on how you can contribute to the project here.
Name | Type | Description |
---|---|---|
docs | Directory |
Documentation files |
src | Directory |
Source files |