16 lines
577 B
TypeScript
16 lines
577 B
TypeScript
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
import EnergyDots from '@/components-v2/shared/EnergyDots.vue'
|
|
|
|
const meta: Meta<typeof EnergyDots> = {
|
|
title: 'Shared/EnergyDots',
|
|
component: EnergyDots,
|
|
tags: ['autodocs'],
|
|
argTypes: { value: { control: { type: 'range', min: 0, max: 5, step: 1 } }, lg: { control: 'boolean' } },
|
|
}
|
|
|
|
export default meta
|
|
type Story = StoryObj<typeof EnergyDots>
|
|
export const Level3: Story = { args: { value: 3 } }
|
|
export const Level5: Story = { args: { value: 5 } }
|
|
export const Large: Story = { args: { value: 4, lg: true } }
|