Skip to content

Commit

Permalink
docs: Add ProgressPie to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
eryc-cc committed Jul 18, 2022
1 parent 1cee615 commit be8bab4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions stories/atoms/progress-pie.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from "react";
import { ComponentStory, ComponentMeta } from "@storybook/react";
import ProgressPie from "../../components/atoms/ProgressPie/progress-pie";

const storyConfig = {
title: "Design System/Atoms/ProgressPie"
};

export default storyConfig;

const ProgressPieTemplate: ComponentStory<typeof ProgressPie> = (args) => <ProgressPie {...args} />;

export const Default = ProgressPieTemplate.bind({});
Default.args = { percentage: 32 };

0 comments on commit be8bab4

Please sign in to comment.