```ts // MyComponent.stories.ts import type { Meta, StoryObj } from '@storybook/vue'; // For Vue 3 use import type { Meta, StoryObj } from '@storybook/vue3'; import { withDesign } from 'storybook-addon-designs'; import MyComponent from './MyComponent.vue'; // More on default export: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction#default-export const meta: Meta = { title: 'FigmaExample', component: MyComponent, decorators: [withDesign], }; export default meta; type Story = StoryObj; /* *👇 Render functions are a framework specific feature to allow you control on how the component renders. * See https://storybook.js.org/docs/7.0/vue/api/csf * to learn how to use render functions. */ export const Example: Story = { render: () => ({ components: { MyComponent }, template: '', }), parameters: { design: { type: 'figma', url: 'https://www.figma.com/file/Sample-File', }, }, }; ```