```js
// MyComponent.stories.js|jsx

import React from 'react';

import { withDesign } from 'storybook-addon-designs';

import { MyComponent } from './MyComponent';

// More on default export: https://storybook.js.org/docs/7.0/react/writing-stories/introduction#default-export
export default {
  title: 'FigmaExample',
  component: MyComponent,
  decorators: [withDesign],
};

export const Example = {
  parameters: {
    design: {
      type: 'figma',
      url: 'https://www.figma.com/file/Sample-File',
    },
  },
};
```
