Skip to content

Commit

Permalink
fix: use label for pushtowrapper key
Browse files Browse the repository at this point in the history
  • Loading branch information
ingmar-stipriaan committed Jun 20, 2023
1 parent e0a0cc5 commit ed26655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/prefabs/types/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export interface PrefabComponentOptionBase {
value: AllowedValue[];
selectableObjectKey?: boolean;
};
pushToWrapper?: boolean;
pushToWrapper?: string;
};
}

Expand Down
4 changes: 2 additions & 2 deletions tests/prefabs/factories/component.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ed26655

Please sign in to comment.