npm.io
10.0.3 • Published 6 years ago

@atlaskit/size-detector

Licence
Apache-2.0
Version
10.0.3
Deps
2
Size
27 kB
Vulns
0
Weekly
0

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.