The black mirror hooks.
npm install @black-mirror/hooksThe black mirror hooks allows to reuse react hooks for the project
black mirror.
To install the package, run the command:
```
npm install --save @black-mirror/hooks
To import the hooks
`javascript``
import * as hooks from '@black-mirror/hooks';
#### Date hooks
use-date.js is a react hook that is used to format the date and refresh everyday at midnight.
#### Interval hooks
use-interval.js is a react hook that is used to setup intervals for the results shown in the application.
#### Settings hooks
use-settings.js is a react hook that is used to retrieve the current settings of the device and also updates the settings when modified.
#### Timer hooks
use-timer.js is a react hook that is used to obtain the time of the day.