Skip to content

Commit

Permalink
Merge pull request #148 from bettyblocks/feat/add-push-to-wrapper-key…
Browse files Browse the repository at this point in the history
…-PAGE-3304

fix: use label for pushtowrapper key
  • Loading branch information
jrquak authored Jun 20, 2023
2 parents ddd8f4e + ed26655 commit 9278838
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 9278838

Please sign in to comment.