From 8f7e26cd0169d115dc81c6541f2c98a06f5867f5 Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Wed, 24 Feb 2021 15:37:40 +0100 Subject: [PATCH] Chore: fixed incorrect naming for disable settings (#31448) --- packages/grafana-ui/src/components/Alert/Alert.story.tsx | 2 +- packages/grafana-ui/src/components/Badge/Badge.story.tsx | 2 +- packages/grafana-ui/src/components/BarGauge/BarGauge.story.tsx | 2 +- packages/grafana-ui/src/components/BigValue/BigValue.story.tsx | 2 +- packages/grafana-ui/src/components/Button/Button.story.tsx | 2 +- .../src/components/ButtonCascader/ButtonCascader.story.tsx | 2 +- .../CallToActionCard/CallToActionCard.story.internal.tsx | 2 +- packages/grafana-ui/src/components/Cascader/Cascader.story.tsx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/grafana-ui/src/components/Alert/Alert.story.tsx b/packages/grafana-ui/src/components/Alert/Alert.story.tsx index b459290ced4..4b2c2027f16 100644 --- a/packages/grafana-ui/src/components/Alert/Alert.story.tsx +++ b/packages/grafana-ui/src/components/Alert/Alert.story.tsx @@ -18,7 +18,7 @@ export default { page: mdx, }, knobs: { - disabled: true, + disable: true, }, }, argTypes: { diff --git a/packages/grafana-ui/src/components/Badge/Badge.story.tsx b/packages/grafana-ui/src/components/Badge/Badge.story.tsx index 9649e03053a..1035be9cc37 100644 --- a/packages/grafana-ui/src/components/Badge/Badge.story.tsx +++ b/packages/grafana-ui/src/components/Badge/Badge.story.tsx @@ -10,7 +10,7 @@ export default { parameters: { docs: {}, knobs: { - disabled: true, + disable: true, }, }, argTypes: { diff --git a/packages/grafana-ui/src/components/BarGauge/BarGauge.story.tsx b/packages/grafana-ui/src/components/BarGauge/BarGauge.story.tsx index 622a9220320..c69af2c3f3f 100644 --- a/packages/grafana-ui/src/components/BarGauge/BarGauge.story.tsx +++ b/packages/grafana-ui/src/components/BarGauge/BarGauge.story.tsx @@ -17,7 +17,7 @@ export default { page: mdx, }, knobs: { - disabled: true, + disable: true, }, }, args: { diff --git a/packages/grafana-ui/src/components/BigValue/BigValue.story.tsx b/packages/grafana-ui/src/components/BigValue/BigValue.story.tsx index 88e014298fc..28bb2b141b0 100644 --- a/packages/grafana-ui/src/components/BigValue/BigValue.story.tsx +++ b/packages/grafana-ui/src/components/BigValue/BigValue.story.tsx @@ -23,7 +23,7 @@ export default { page: mdx, }, knobs: { - disabled: true, + disable: true, }, }, argTypes: { diff --git a/packages/grafana-ui/src/components/Button/Button.story.tsx b/packages/grafana-ui/src/components/Button/Button.story.tsx index 010b9d5a10a..a2f2befbf45 100644 --- a/packages/grafana-ui/src/components/Button/Button.story.tsx +++ b/packages/grafana-ui/src/components/Button/Button.story.tsx @@ -24,7 +24,7 @@ export default { page: mdx, }, knobs: { - disabled: true, + disable: true, }, }, }; diff --git a/packages/grafana-ui/src/components/ButtonCascader/ButtonCascader.story.tsx b/packages/grafana-ui/src/components/ButtonCascader/ButtonCascader.story.tsx index 3652335f8eb..916b761a3ee 100644 --- a/packages/grafana-ui/src/components/ButtonCascader/ButtonCascader.story.tsx +++ b/packages/grafana-ui/src/components/ButtonCascader/ButtonCascader.story.tsx @@ -11,7 +11,7 @@ export default { decorators: [withCenteredStory], parameters: { knobs: { - disabled: true, + disable: true, }, }, args: { diff --git a/packages/grafana-ui/src/components/CallToActionCard/CallToActionCard.story.internal.tsx b/packages/grafana-ui/src/components/CallToActionCard/CallToActionCard.story.internal.tsx index f5ccd36b88b..06d9b17b194 100644 --- a/packages/grafana-ui/src/components/CallToActionCard/CallToActionCard.story.internal.tsx +++ b/packages/grafana-ui/src/components/CallToActionCard/CallToActionCard.story.internal.tsx @@ -11,7 +11,7 @@ export default { component: CallToActionCard, parameters: { knobs: { - disabled: true, + disable: true, }, }, argTypes: { diff --git a/packages/grafana-ui/src/components/Cascader/Cascader.story.tsx b/packages/grafana-ui/src/components/Cascader/Cascader.story.tsx index 53fbc46cc73..bdee52ad252 100644 --- a/packages/grafana-ui/src/components/Cascader/Cascader.story.tsx +++ b/packages/grafana-ui/src/components/Cascader/Cascader.story.tsx @@ -15,7 +15,7 @@ export default { page: mdx, }, knobs: { - disabled: true, + disable: true, }, }, args: {