1.0.0 • Published 4 years ago
@wniemiec-component-react/remaining-time v1.0.0

❇ Introduction
React component that displays the time remaining until a certain hour, minute and second.
🖼 Gallery
❓ How to use
- 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}
/>
[...]📖 Documentation
| Property | Type | Description | Default |
|---|---|---|---|
| hours | number | Hour | 23 |
| minutes | number | Minute | 59 |
| seconds | number | Second | 59 |
| fgColor | string | Text color | "#000000" |
| style | object | Custom style | null |
🚩 Changelog
Details about each version are documented in the releases section.
🤝 Contribute!
See the documentation on how you can contribute to the project here.
📁 Files
/
| Name | Type | Description |
|---|---|---|
| docs | Directory | Documentation files |
| src | Directory | Source files |
1.0.0
4 years ago