File "createRef.d.ts"

Full Path: /home/trinadezambia/public_html/democrm.trinadezambia.com/perfex_crm/es2015/createRef.d.ts
File size: 357 bytes
MIME-type: text/x-java
Charset: utf-8

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>;