1.2.6 • Published 1 year ago

@black-mirror/hooks v1.2.6

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

2 years ago

1.1.0

2 years ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.2.7

2 years ago