Implement displayed text

This commit is contained in:
Eric NGUYEN 2022-09-16 15:00:40 +02:00
parent ce65d448c9
commit 9f24d2d40a
4 changed files with 6 additions and 2 deletions

View file

@ -160,7 +160,7 @@ export function GetDefaultContainerProps(type: string,
type,
parentId: parent.properties.id,
linkedSymbolId: '',
displayedText: `${type}-${typeCount}`,
displayedText: `${containerConfig.DisplayedText ?? type}-${typeCount}`,
x,
y,
margin: containerConfig.Margin ?? {},