UNPKG

279 BTypeScriptView Raw
1import * as React from 'react';
2/**
3 * The function that correctly handles passing refs.
4 *
5 * @param ref An ref object or function
6 * @param node A node that should be passed by ref
7 */
8declare const handleRef: <N>(ref: React.Ref<N>, node: N) => void;
9export default handleRef;