You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
439 B

  1. import {createProgressBar} from "./ProgressBarComponent";
  2. export default {
  3. title: 'Atoms/Progress Bar',
  4. args: {
  5. progress: 50,
  6. },
  7. argTypes: {
  8. progress: {
  9. name: 'Fortschritt',
  10. control: {
  11. type: 'range',
  12. min: 0,
  13. max: 100,
  14. },
  15. }
  16. },
  17. }
  18. const Template = ({...args}) => {
  19. return createProgressBar({...args});
  20. };
  21. export const ProgressBar = Template.bind({});
  22. ProgressBar.args = {};