import type { Meta } from '@storybook/vue3'; import Increment_ from './Increment.vue'; const meta: Meta = { title: 'Application/Increment 🔴', component: Increment_, tags: ['application', 'input', 'number', 'increment'], }; export default meta; const Template = (args: Record, { argTypes }: Record>) => ({ props: Object.keys(argTypes).filter(x => x !== 'value'), data() { return { value: '1', step: 10, max: 100, min: -10, disabled: false, }; }, components: { Increment_ }, template: 'Note: Story not working properly. Value : {{ value }}', methods: { action: (value: boolean) => console.log(`Increment value: ${value}`) }, }); export const Default = Template.bind({});