Kind: Function
Source: src/jsx/dom/intrinsic-element/components.ts
Part of: Jsx
Signature
tsfunction composeRef(ref: RefObject<T | null> | Function | undefined, cb: (e: T) => void | (() => void)): ((e: T) => () => void)
Parameters
| Name | Type |
|---|---|
ref | `RefObject<T |
cb | `(e: T) => void |
Returns: ((e: T) => () => void)
Was this page helpful?