@atlaskit/size-detector

Wrapper for components that need to respond to size changes

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @atlaskit/size-detector in KB

Readme

Size-detector

This is a utility component that informs the child function of the available width and height.

Installation

yarn add @atlaskit/size-detector

Usage

Detailed docs and example usage can be found here.

Acknowledgements

This size detection method used by this component is inspired by Federico Zivolo's awesome react-resize-aware project, which Atlassian has contributed a PR back to.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.