@univerjs/ui v0.5.0-beta.1 • Docs
Function: useComponentsOfPart()
function useComponentsOfPart(part, injector?): Set<ComponentRenderer>
Get a set of render functions to render components of a part.
Parameters
Parameter | Type | Description |
---|---|---|
part | string | The part name. |
injector ? | Injector | The injector to get the service. It is optional. However, you should not change this prop in a given component. |
Returns
Set
<ComponentRenderer
>
Defined in
submodules/univer/packages/ui/src/views/components/ComponentContainer.tsx:47