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
Parameter | Type |
---|---|
Comp | ComponentType <P > |
injector | Injector |
Returns
React.ComponentType
<P
>
A component type that can be rendered.