ZeeCoder / use-resize-observer

A React hook that allows you to use a ResizeObserver to measure an element's size.
MIT License
651 stars 42 forks source link

feat: Exported some TS types #99

Closed ZeeCoder closed 1 year ago

ZeeCoder commented 1 year ago

The following types were exported so that it's easier to compose hook options:

Tests were updated as well to guarantee the new API interface.

Resolves #98

github-actions[bot] commented 1 year ago

size-limit report 📦

Path Size
dist/bundle.esm.js 648 B (0%)
dist/bundle.cjs.js 625 B (0%)
polyfilled.js 3.3 KB (0%)
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 9.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: