diff --git a/src/prefabs/types/options.ts b/src/prefabs/types/options.ts index 16f045f9..83d465f3 100644 --- a/src/prefabs/types/options.ts +++ b/src/prefabs/types/options.ts @@ -138,7 +138,7 @@ export interface PrefabComponentOptionBase { value: AllowedValue[]; selectableObjectKey?: boolean; }; - pushToWrapper?: boolean; + pushToWrapper?: string; }; } diff --git a/tests/prefabs/factories/component.test.ts b/tests/prefabs/factories/component.test.ts index c70a6d6b..06e7b10d 100644 --- a/tests/prefabs/factories/component.test.ts +++ b/tests/prefabs/factories/component.test.ts @@ -231,7 +231,7 @@ test('component is a data table with "reconfigure" options', (t) => { showOnDrop: true, showTextStyleColor: true, allowedKinds: ['TEXT', 'URL'], - pushToWrapper: true, + pushToWrapper: 'WrapperLabel', }, showInReconfigure: true, showInAddChild: true, @@ -269,7 +269,7 @@ test('component is a data table with "reconfigure" options', (t) => { showOnDrop: true, showTextStyleColor: true, allowedKinds: ['TEXT', 'URL'], - pushToWrapper: true, + pushToWrapper: 'WrapperLabel', }, showInReconfigure: true, showInAddChild: true,