@univerjsuiindexfunctionsUsecomponentsofpart

@univerjs/ui v0.5.0-beta.1Docs


Function: useComponentsOfPart()

function useComponentsOfPart(part, injector?): Set<ComponentRenderer>

Get a set of render functions to render components of a part.

Parameters

ParameterTypeDescription
partstringThe part name.
injector?InjectorThe 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