```html
<!-- MyComponent.stories.svelte -->

<script>
  import { Meta, Template, Story } from '@storybook/addon-svelte-csf';

  import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';

  import MyComponent from "./MyComponent.svelte";
</script>

<Meta
  title="Stories"
  component={MyComponent}
  parameters={{
    //👇 The viewports object from the Essentials addon
    viewport: {
      //👇 The viewports you want to use
      viewports: INITIAL_VIEWPORTS,
      //👇 Your own default viewport
      defaultViewport: 'iphone6',
    },
  }}
/>

<Template let:args>
  <MyComponent {...args} />
</Template>

<Story
  name="ExampleStory"
  parameters={{
    viewport: {
      defaultViewport: 'iphonex',
    },
  }}
/>
```