import type { Meta, StoryObj } from '@storybook/vue3-vite' import { ref } from 'vue' import { sampleSources } from './_fixtures' import DataSourceSelect from './DataSourceSelect.vue' const meta = { title: 'DataInspector/DataSourceSelect', component: DataSourceSelect, tags: ['autodocs'], } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { render: () => ({ components: { DataSourceSelect }, setup() { const model = ref('devframe') return { model, sources: sampleSources } }, template: `
`, }), } export const Placeholder: Story = { render: () => ({ components: { DataSourceSelect }, setup() { const model = ref() return { model, sources: sampleSources } }, template: `
`, }), }