@univerjscorefunctionsConnectinjector

@univerjs/core v0.5.4


Function: connectInjector()

function connectInjector<P>(Comp, injector): React.ComponentType<P>

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

Type Parameters

Type Parameter
P

Parameters

ParameterType
CompComponentType<P>
injectorInjector

Returns

React.ComponentType<P>

A component type that can be rendered.