mirror of
https://github.com/streamich/react-use.git
synced 2026-01-25 14:17:16 +00:00
docs: ✏️ improve README formatting
This commit is contained in:
parent
f7ecdaf71d
commit
9501d1841f
@ -11,12 +11,15 @@
|
||||
<br />
|
||||
</h1>
|
||||
<sup>
|
||||
<br />
|
||||
<br />
|
||||
Collection of essential <a href="https://reactjs.org/docs/hooks-intro.html">React Hooks</a>.</em>
|
||||
<br />
|
||||
<em>This is mostly port of <a href="https://github.com/streamich/libreact"><code>libreact</code></a> to React Hooks.</em>
|
||||
</sub>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
|
||||
|
||||
@ -28,6 +31,8 @@
|
||||
- [`useCounter`](./docs/useCounter.md) — tracks state of a number.
|
||||
- [`useList`](./docs/useList.md) — tracks state of an array.
|
||||
- [`useMap`](./docs/useMap.md) — tracks state of an object.
|
||||
<br/>
|
||||
<br/>
|
||||
- Sensors
|
||||
- [`useBattery`](./docs/useBattery.md) — tracks device batter state.
|
||||
- [`useGeolocation`](./docs/useGeolocation.md) — tracks geo location state of user's device.
|
||||
@ -40,8 +45,12 @@
|
||||
- [`useOrientation`](./docs/useOrientation.md) — tracks state of device's screen orientation.
|
||||
- [`useSize`](./docs/useSize.md) — tracks some HTML element's dimensions.
|
||||
- [`useWindowSize`](./docs/useWindowSize.md) — tracks `Window` dimensions.
|
||||
<br/>
|
||||
<br/>
|
||||
- Side effects
|
||||
- [`useTitle`](./docs/useTitle.md) — sets title of the page.
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user