From 072f25397c56d8c141c3d5d4a6aca4d98adc85b3 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Wed, 27 Apr 2022 04:34:58 +0100 Subject: [PATCH] cleanup snippets --- .../angular/component-story-figma-integration.mdx.mdx | 2 +- .../snippets/angular/component-story-figma-integration.ts.mdx | 2 +- .../snippets/svelte/component-story-figma-integration.mdx.mdx | 2 +- docs/snippets/vue/component-story-figma-integration.mdx.mdx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/snippets/angular/component-story-figma-integration.mdx.mdx b/docs/snippets/angular/component-story-figma-integration.mdx.mdx index cb758940ad5..85939ccf81a 100644 --- a/docs/snippets/angular/component-story-figma-integration.mdx.mdx +++ b/docs/snippets/angular/component-story-figma-integration.mdx.mdx @@ -16,7 +16,7 @@ export const Template = () => ({ props: {} }); name="Example" parameters={{ design: { - type: 'iframe', + type: 'figma', url: 'https://www.figma.com/file/Sample-File', }, }} diff --git a/docs/snippets/angular/component-story-figma-integration.ts.mdx b/docs/snippets/angular/component-story-figma-integration.ts.mdx index bb01f0ead5f..eb0e2565f61 100644 --- a/docs/snippets/angular/component-story-figma-integration.ts.mdx +++ b/docs/snippets/angular/component-story-figma-integration.ts.mdx @@ -22,7 +22,7 @@ const Template: Story = () => ({ export const Example = Template.bind({}); Example.parameters = { design: { - type: 'iframe', + type: 'figma', url: 'https://www.figma.com/file/Sample-File', }, }; diff --git a/docs/snippets/svelte/component-story-figma-integration.mdx.mdx b/docs/snippets/svelte/component-story-figma-integration.mdx.mdx index 6879de184a4..5f2e601e7f6 100644 --- a/docs/snippets/svelte/component-story-figma-integration.mdx.mdx +++ b/docs/snippets/svelte/component-story-figma-integration.mdx.mdx @@ -23,7 +23,7 @@ export const Template = () => ({ name="Example" parameters={{ design: { - type: 'iframe', + type: 'figma', url: 'https://www.wikipedia.org/', }, }} diff --git a/docs/snippets/vue/component-story-figma-integration.mdx.mdx b/docs/snippets/vue/component-story-figma-integration.mdx.mdx index 2097ae195b6..86c201fddc8 100644 --- a/docs/snippets/vue/component-story-figma-integration.mdx.mdx +++ b/docs/snippets/vue/component-story-figma-integration.mdx.mdx @@ -11,8 +11,8 @@ import MyComponent from './MyComponent.vue'; export const Template = (args) => ({ // Components used in your story `template` are defined in the `components` object -components: { MyComponent }, -template: 'MyComponent />', + components: { MyComponent }, + template: 'MyComponent />', });