Skip to content

Commit

Permalink
refactor(progress): add container to story
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed Apr 12, 2022
1 parent 565101f commit dfb33bb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/ui/Progress/Progress.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { Progress } from 'semantic-ui-react';
import { Progress, Container } from 'semantic-ui-react';

export default {
title: 'Components/Progress',
Expand Down Expand Up @@ -57,7 +57,11 @@ export default {
},
};

const Template = (args) => <Progress {...args}></Progress>;
const Template = (args) => (
<Container>
<Progress {...args}></Progress>
</Container>
);

// export const Default = Template.bind({});
// Default.args = {
Expand Down Expand Up @@ -150,7 +154,11 @@ ProgressWithValue.argTypes = {
},
};

export const CustomColor = (args) => <Progress {...args}></Progress>;
export const CustomColor = (args) => (
<Container>
<Progress {...args}></Progress>
</Container>
);
CustomColor.args = {
value: 80,
total: 100,
Expand Down

0 comments on commit dfb33bb

Please sign in to comment.