persona-community-5/.pnpm-store/v3/files/9a/76a83b19d1682220bf43d1c097e45ddb213e5a450abc269b76d1ab33a14b8e0434977e4e6ce28861341ef4229dec893ea8a2f10699669e39f04c1b80f9b4e3
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

11 lines
357 B
Plaintext

import { RefObject } from 'react';
/**
* creates a Ref object with on change callback
* @param callback
* @returns {RefObject}
*
* @see {@link useCallbackRef}
* @see https://reactjs.org/docs/refs-and-the-dom.html#creating-refs
*/
export declare function createCallbackRef<T>(callback: (newValue: T | null, lastValue: T | null) => any): RefObject<T>;