import type { Meta, StoryObj } from '@storybook/vue3-vite' import Button from '../../components/base/Button.vue' const meta = { title: 'Base/Button', component: Button, render: (args) => ({ components: { Button }, setup() { return { args } }, template: /*html*/ ` `, }), } satisfies Meta export default meta type Story = StoryObj export const Default: Story = {} export const Primary: Story = { args: { color: 'primary', }, } export const Danger: Story = { args: { color: 'danger', }, } export const AllColors: Story = { render: () => ({ components: { Button }, template: /*html*/ `
`, }), } export const Large: Story = { args: { large: true, }, } export const Outline: Story = { args: { outline: true, }, } export const Transparent: Story = { args: { transparent: true, }, } export const Disabled: Story = { args: { disabled: true, }, } export const AsLink: Story = { args: { link: 'https://modrinth.com', external: true, }, }