Skip to content

Commit

Permalink
docs(stories): Create a story for the ProgressBar component (#84389)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan953 authored Jan 31, 2025
1 parent 4db1d3b commit 3c73fc1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions static/app/components/progrssBar.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import ProgressBar from 'sentry/components/progressBar';
import Matrix from 'sentry/components/stories/matrix';
import storyBook from 'sentry/stories/storyBook';

export default storyBook(ProgressBar, story => {
story('Default', () => (
<Matrix
propMatrix={{
value: [0, 25, 50, 75, 100],
variant: ['small', 'large'],
}}
render={ProgressBar}
selectedProps={['value', 'variant']}
/>
));
});

0 comments on commit 3c73fc1

Please sign in to comment.