import {createReadingTime} from "./ReadingTimeComponent";

export default {
  title: 'Atoms/Reading Time',
  argTypes: {
    minutes: {
      name: 'Minuten',
      control: {
        type: 'range',
        min: 1,
        max: 20,
      },
      defaultValue: 6,
    },
  }
}

const Template = ({label, ...args}) => {
  return createReadingTime({...args});
};

export const ReadingTime = Template.bind({});
ReadingTime.args = {};