API Reference
@univerjs
@univerjs/ui
functions
Usecomponentsofpart

@univerjs/ui v0.1.17Docs


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

packages/ui/src/views/components/ComponentContainer.tsx:47 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.