```ts // MyComponent.stories.ts import type { Meta, Story } from '@storybook/vue'; // For Vue 3 use import { Meta, Story } 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 export default { title: 'FigmaExample', component: MyComponent, decorators: [withDesign], } as Meta; // More on component templates: https://storybook.js.org/docs/7.0/vue/writing-stories/introduction#using-args const Template: StoryFn = () => ({ components: { MyComponent }, template: '', }); /* *👇 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', }, }, }; ```