Skip to content

Commit

Permalink
Add top bar and reframe feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sophschneider committed Mar 18, 2024
1 parent f57db81 commit 07764cc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-bags-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Added dynamicTopBarAndReframe feature flag type
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ export const featureFlagOptions = {
// defaultValue: false,
// control: {type: 'boolean'},
// },
dynamicTopBarAndReframe: {
name: 'dynamicTopBarAndReframe',
description: 'Toggle the top bar and reframe feature flag',
defaultValue: false,
control: {type: 'boolean'},
},
};

export const gridOptions = {
Expand Down
1 change: 1 addition & 0 deletions polaris-react/src/utilities/features/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export interface FeaturesConfig {
dynamicTopBarAndReframe?: boolean;
[key: string]: boolean | undefined;
}

Expand Down

0 comments on commit 07764cc

Please sign in to comment.