File size: 233 Bytes
e8a57cb
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
/**
 * Customize the displayed name of a useState, useReducer or useRef hook
 * in the devtools panel.
 *
 * @param value Wrapped native hook.
 * @param name Custom name
 */
export function addHookName<T>(value: T, name: string): T;