Skip to content

Commit

Permalink
fix: type stories
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jan 6, 2021
1 parent 17a1465 commit ed9c2c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions plugins/axe-plugin/src/stories/AllyBlock.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React, { FC } from 'react';
import React from 'react';
import { Document, Example } from '@component-controls/core';
import { BlockContextProvider, store } from '@component-controls/blocks';
import { AllyBlock } from '../index';

export default {
title: 'Plugins/AllyBlock',
component: AllyBlock,
};
} as Document;

export const overview: FC = () => {
export const overview: Example = () => {
return (
<BlockContextProvider
storyId="blocks-core-story-plain--controls"
Expand Down
9 changes: 5 additions & 4 deletions plugins/viewport-plugin/src/stories/ViewportBlock.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React, { FC } from 'react';
import React from 'react';
import { Document, Example } from '@component-controls/core';
import { BlockContextProvider, store } from '@component-controls/blocks';
import { ViewportBlock } from '../index';

export default {
title: 'Plugins/ViewportBlock',
component: ViewportBlock,
};
} as Document;

export const overview: FC = () => {
export const overview: Example = () => {
return (
<BlockContextProvider
storyId="blocks-core-story-plain--controls"
Expand All @@ -18,7 +19,7 @@ export const overview: FC = () => {
);
};

export const sizes: FC = () => {
export const sizes: Example = () => {
return (
<BlockContextProvider
storyId="blocks-core-story-plain--controls"
Expand Down

0 comments on commit ed9c2c0

Please sign in to comment.