This commit is contained in:
Carl Fuchs 2023-02-03 16:58:54 +01:00
parent 532151b939
commit 62abd3ff03
4 changed files with 85 additions and 4 deletions

View file

@ -97,11 +97,15 @@ export function UI({ editorState, ...methods }: IUIProps): JSX.Element {
switch (selectedSidebar) {
case SidebarType.Components:
leftSidebarTitle = Text({ textId: '@Components' });
const AllowedReplaceCategory = undefined;
leftChildren = <Components
selectedContainer={selectedContainer}
componentOptions={configuration.AvailableContainers}
categories={configuration.Categories}
buttonOnClick={methods.addContainer}
replaceableCategoryName={AllowedReplaceCategory}
/>;
rightSidebarTitle = Text({ textId: '@Elements' });
rightChildren = <ElementsList