mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-31 18:04:42 +03:00
98e35384a6
```ts import { observeResize } from "@affine/component"; useEffect(() => { const dispose = observeResize(element entry => { console.log(entry.contentRect); }); return () => dispose(); }, []); ``` |
||
---|---|---|
.. | ||
admin | ||
component | ||
core | ||
electron | ||
electron-api | ||
graphql | ||
i18n | ||
native | ||
templates | ||
web |