react-scrollbar-size
- Version 5.0.0
- Published
- 16.9 kB
- No dependencies
- MIT license
Install
npm i react-scrollbar-size
yarn add react-scrollbar-size
pnpm add react-scrollbar-size
Overview
React hook to calculate the size of browser scrollbars
Index
Functions
Interfaces
Functions
function useScrollbarSize
useScrollbarSize: () => ScrollbarMeasurements;
Interfaces
interface ScrollbarMeasurements
interface ScrollbarMeasurements {}
Package Files (2)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-scrollbar-size
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-scrollbar-size)
- HTML<a href="https://www.jsdocs.io/package/react-scrollbar-size"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1844 ms. - Missing or incorrect documentation? Open an issue for this package.