Import
Copy code
import { Resize } from '@k8ordo/ui';Usage
onChange is also called once when observation starts. It takes no argument; read what you need from the DOM in the handler.
Basic usage
Notified 0 times
Copy code
<Resize onChange={remeasure}>
<div>…</div>
</Resize>Props
children- Type:
ReactNode - Default: -
onChange- Type:
() => void - Default: -
| Prop | Type | Default |
|---|---|---|
children | ReactNode | - |
onChange | () => void | - |