import type { Meta, StoryObj } from '@storybook/vue3'; import { ref } from 'vue'; import { RatingInput } from '~/components'; type Story = StoryObj; const meta: Meta = { title: 'Application/RatingInput', component: RatingInput, parameters: { layout: 'centered', }, tags: ['rate', 'score', 'rating', 'stars'], argTypes: { modelValue: { table: { disable: true } }, }, args: { ceil: 5, }, }; export const Default: Story = { render: args => ({ components: { RatingInput }, setup() { const value = ref(5); return { args, value }; }, template: `

{{ value }}

`, }), }; export default meta;