Sha256: 253b62eae782c4db1098e20ee5de722c779910c620ef657a1ee1c6c0093a73c3

Contents?: true

Size: 241 Bytes

Versions: 12

Compression:

Stored size: 241 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
isomorfeus-preact-10.6.14 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.13 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.12 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.11 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.10 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.9 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.8 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.7 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.6 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.5 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.4 node_modules/preact/devtools/src/index.d.ts
isomorfeus-preact-10.6.3 node_modules/preact/devtools/src/index.d.ts