1.2.6 • Published 3 years ago

@black-mirror/hooks v1.2.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.1.0

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.2.7

3 years ago