2022-09-07 11:20:27 +03:00
|
|
|
# react-hooks
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```bash
|
|
|
|
// with npm
|
2022-12-28 18:11:33 +02:00
|
|
|
npm i --save @flare/react-hooks --registry https://lab.code-rove.com/public-node-registry
|
2022-09-07 11:20:27 +03:00
|
|
|
|
|
|
|
// with yarn
|
2022-12-28 18:11:33 +02:00
|
|
|
yarn add @flare/react-hooks --registry https://lab.code-rove.com/public-node-registry
|
2022-09-07 11:20:27 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```jsx
|
2022-09-07 11:24:20 +03:00
|
|
|
import { useWindowSize, useLink, useTitle } from "@flare/react-hooks";
|
2022-09-07 11:20:27 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
**1.0.0**
|
|
|
|
This version includes the initial version of react-hooks component.
|