DocSpace-buildtools/packages/components/progress-bar/progress-bar.stories.js
Alexey Safronov 52a80b9304 Web: Components: Restored old progress-bar
(cherry picked from commit e6e02945f441a7c5b1b7b0df4b57264143e0f0b0)
2023-08-07 14:06:40 +04:00

26 lines
558 B
JavaScript

import React from "react";
import ProgressBar from "./";
export default {
title: "Components/ProgressBar",
component: ProgressBar,
parameters: {
docs: {
description: {
component:
"A container that displays a process or operation as a progress bar",
},
},
},
};
const Template = (args) => {
return <ProgressBar {...args} style={{ marginTop: 16 }} />;
};
export const Default = Template.bind({});
Default.args = {
label: "Uploading files: 20 of 100",
percent: 20,
dropDownContent: "You content here",
};