import CSmallTimeline from "../components/CSmallTimeline/CSmallTimeline.vue";
import "./utils.css";

export default {
  title: "CSmallTimeline",
  component: CSmallTimeline,
  argTypes: {
    timelineItems: { control: { type: "object" } },
  },
};

const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { CSmallTimeline },
  template: '<c-small-timeline v-bind="$props" />',
});

export const Default = Template.bind({});
Default.args = {
    timelineItems: [
    { label: "Invoiced" },
    { label: "Partially paid"},
    { label: "Paid"},
    { label: "Overdue"},
  ],
};
