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

export default {
  title: "CBreadcrumbs",
  component: CBreadcrumbs,
  argTypes: {
    navObject: { control: { type: "object" } },
  },
};

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

export const Default = Template.bind({});
Default.args = {
  navObject: [
    { href: "#", label: "Students" },
    { href: "#", label: "Alkama" },
  ],
};
