From 7c80f2f8dd4123d9e53c347f3627c7e0a443e5ac Mon Sep 17 00:00:00 2001 From: Dominik Henneke Date: Wed, 30 Sep 2020 15:04:09 +0200 Subject: [PATCH] Add GaugeProgress to storybook --- .../ProgressBars/GaugeProgress.stories.tsx | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 packages/core/src/components/ProgressBars/GaugeProgress.stories.tsx diff --git a/packages/core/src/components/ProgressBars/GaugeProgress.stories.tsx b/packages/core/src/components/ProgressBars/GaugeProgress.stories.tsx new file mode 100644 index 0000000000..48f4cb673e --- /dev/null +++ b/packages/core/src/components/ProgressBars/GaugeProgress.stories.tsx @@ -0,0 +1,55 @@ +/* + * Copyright 2020 Spotify AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import React from 'react'; +import { GaugeProgress } from './GaugeProgress'; + +const containerStyle = { width: 300 }; + +export default { + title: 'GaugeProgress', + component: GaugeProgress, +}; + +export const Default = () => ( +
+ +
+); + +export const MediumProgress = () => ( +
+ +
+); + +export const LowProgress = () => ( +
+ +
+); + +export const InverseLowProgress = () => ( +
+ +
+); + +export const AbsoluteProgress = () => ( +
+ +
+);