1.2.6 • Published 4 years ago

@black-mirror/hooks v1.2.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Black mirror hooks

The black mirror hooks allows to reuse react hooks for the project black mirror.

Getting started

To install the package, run the command:

@black-mirror/hooks on npm

npm install --save @black-mirror/hooks

Hooks

To import the hooks

import * as hooks from '@black-mirror/hooks';

Types of 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.

1.2.0

4 years ago

1.1.0

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.2.7

4 years ago