From 4d83f0de94ab8af49f76cf18196eac7fcc232379 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 1 Aug 2019 09:59:10 +0200 Subject: [PATCH] fix(VariantManagemen): removed unused prop enabled --- packages/main/__karma_snapshots__/DayPicker.md | 2 +- packages/main/__karma_snapshots__/FilterBar.md | 6 +++--- packages/main/__karma_snapshots__/VariantManagement.md | 6 +++--- packages/main/src/components/VariantManagement/index.tsx | 2 -- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/main/__karma_snapshots__/DayPicker.md b/packages/main/__karma_snapshots__/DayPicker.md index e14c9b2123a..e1ba848919e 100644 --- a/packages/main/__karma_snapshots__/DayPicker.md +++ b/packages/main/__karma_snapshots__/DayPicker.md @@ -4,7 +4,7 @@ ``` - + diff --git a/packages/main/__karma_snapshots__/FilterBar.md b/packages/main/__karma_snapshots__/FilterBar.md index 760484e00b6..674b489a969 100644 --- a/packages/main/__karma_snapshots__/FilterBar.md +++ b/packages/main/__karma_snapshots__/FilterBar.md @@ -10,7 +10,7 @@
- +
@@ -125,7 +125,7 @@
- +
@@ -249,7 +249,7 @@
- +
diff --git a/packages/main/__karma_snapshots__/VariantManagement.md b/packages/main/__karma_snapshots__/VariantManagement.md index 8011a2b8827..b05101ffe6c 100644 --- a/packages/main/__karma_snapshots__/VariantManagement.md +++ b/packages/main/__karma_snapshots__/VariantManagement.md @@ -6,7 +6,7 @@ - +
@@ -29,8 +29,8 @@ - - + + Variant 1 diff --git a/packages/main/src/components/VariantManagement/index.tsx b/packages/main/src/components/VariantManagement/index.tsx index 673042ac217..5e4652caeea 100644 --- a/packages/main/src/components/VariantManagement/index.tsx +++ b/packages/main/src/components/VariantManagement/index.tsx @@ -20,7 +20,6 @@ export interface VariantItem { } export interface VariantManagementPropTypes extends CommonProps { - enabled?: boolean; placement?: PlacementType; popupTitle?: string; initialSelectedKey?: string; @@ -185,7 +184,6 @@ const VariantManagement: FC = forwardRef( ); VariantManagement.defaultProps = { - enabled: true, popupTitle: 'Variants', initialSelectedKey: null, onSelect: () => {},