diff --git a/src/components/progress-bar/progress-bar.stories.jsx b/src/components/progress-bar/progress-bar.stories.jsx new file mode 100644 index 00000000..0e26b26a --- /dev/null +++ b/src/components/progress-bar/progress-bar.stories.jsx @@ -0,0 +1,78 @@ +import ProgressBar from './progress-bar'; + +export default { + title: 'Atoms/ProgressBar', + component: ProgressBar, + parameters: { + layout: 'centered', + }, + tags: [ 'autodocs' ], + argTypes: { + progress: { + name: 'Progress', + description: 'Defines the progress percentage of the bar (0-100).', + control: { type: 'range', min: 0, max: 100 }, + table: { + type: { summary: 'number' }, + defaultValue: { summary: 0 }, + }, + }, + speed: { + name: 'Speed', + description: 'Defines the animation speed in milliseconds.', + control: { type: 'number' }, + table: { + type: { summary: 'number' }, + defaultValue: { summary: 200 }, + }, + }, + className: { + name: 'Class Name', + description: 'Additional custom classes for the progress bar.', + control: 'text', + table: { + type: { summary: 'string' }, + defaultValue: { summary: '' }, + }, + }, + }, + decorators: [ + ( Story ) => ( +