@univerjs/ui v0.4.2 • 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
packages/ui/src/views/components/ComponentContainer.tsx:47 (opens in a new tab)