import type { Meta, StoryObj } from '@storybook/vue3'; import { ref } from 'vue'; import { DateInput } from '~/components'; type Story = StoryObj; const meta: Meta = { title: 'Application/Date/Range', component: DateInput, tags: ['application', 'date', 'input', 'multi', 'select'], argTypes: { modelValue: { table: { disable: true } }, }, args: { disabled: false, placeholder: 'Select date range', }, }; export const Default: Story = { render: args => ({ components: { DateInput }, setup() { const value = ref({ start: null, end: null }); return { args, value }; }, template: 'Date: {{ value }}', }), }; export default meta;