Here you can read how to run it, and how to use all components. Lets start ๐
This project was bootstrapped with Create React App.
- Time format changing
- Temperature units changing
In the project directory, you can run:
Runs the app in the development mode. ๐
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode. ๐งช
But right now this feature isn't available. ๐
Builds the app for production to the build folder. ๐
It correctly bundles React in production mode and optimizes the build for the best performance.
Uses useTime hook to get data about arrows rotation (hh, mm, ss). [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usetime- useTime docs)
Toggle button
Props
| Prop | Type | Description |
|---|---|---|
| text | string | text inside button |
| icon | img | path to button icon |
| onClick | function | callback function |
Uses useDate hook to get current day and mountName. [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usedate- useDate docs)
Uses useTime hook to get current time. [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usetime- useTime docs)
| Prop | Type | Description |
|---|---|---|
| ariaLabel | string | aria description |
| callback | function | callback function |
| defaultState | boolean | enabled or disabled |
Heading 2
| Prop | Type | Description |
|---|---|---|
| text | string | text |
Heading 3
| Prop | Type | Description |
|---|---|---|
| text | string | text |
| Prop | Type | Description |
|---|---|---|
| tempUnits | string | celsius '_c' or fahrenheit '_f' |









