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

export default {
  title: "CDatepicker",
  component: CDatepicker,
  argTypes: {
    date: String,
    classes: String,
    label: String,
    helpText: String,
  },
};

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

export const Default = Template.bind({});
Default.args = {
  // date: "",
  // classes: "",
  label: "Date",
  helpText: "Description",
  value: new Date(),
  disabled: false,
  isExpanded: false,
  timezone: null,
};
