import type { Meta, StoryObj } from '@storybook/vue3-vite' import DropArea from '../../components/base/DropArea.vue' const meta = { title: 'Base/DropArea', component: DropArea, } satisfies Meta export default meta export const Default: StoryObj = { render: () => ({ components: { DropArea }, template: /*html*/ `

Drag and drop files anywhere on the page

The drop overlay will appear when you drag files over

`, }), } export const ImagesOnly: StoryObj = { render: () => ({ components: { DropArea }, template: /*html*/ `

Drop images here

Only accepts image files

`, }), } export const AcceptMods: StoryObj = { render: () => ({ components: { DropArea }, template: /*html*/ `

Drop mod files here

Accepts .jar, .zip, .litemod, and signature files (.sig, .asc, .gpg)

`, }), } export const AcceptImages: StoryObj = { render: () => ({ components: { DropArea }, template: /*html*/ `

Drop image files here

Accepts PNG, JPEG, GIF, WebP, and SVG images

`, }), }