@univerjscorefunctionsUsedependency

@univerjs/core v0.5.4


Function: useDependency()

Call Signature

function useDependency<T>(id, lookUp?): T

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:3

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
lookUp?LookUp

Returns

T

Call Signature

function useDependency<T>(
   id, 
   quantity, 
   lookUp?): T[]

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:4

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
quantityMANY
lookUp?LookUp

Returns

T[]

Call Signature

function useDependency<T>(
   id, 
   quantity, 
   lookUp?): T | null

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:5

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
quantityOPTIONAL
lookUp?LookUp

Returns

T | null

Call Signature

function useDependency<T>(
   id, 
   quantity, 
   lookUp?): T

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:6

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
quantityREQUIRED
lookUp?LookUp

Returns

T

Call Signature

function useDependency<T>(
   id, 
   quantity, 
   lookUp?): T | T[] | null

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:7

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
quantityQuantity
lookUp?LookUp

Returns

T | T[] | null

Call Signature

function useDependency<T>(
   id, 
   quantity?, 
   lookUp?): T | T[] | null

Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@wendellhu+redi@0.17.0/node_modules/@wendellhu/redi/esm/react-bindings/reactHooks.d.ts:8

Type Parameters

Type Parameter
T

Parameters

ParameterType
idDependencyIdentifier<T>
quantity?Quantity
lookUp?LookUp

Returns

T | T[] | null