Skip to content

Commit

Permalink
fix: use correct type Decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc committed Apr 12, 2024
1 parent d08d986 commit 971ebc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/plasma-sb-utils/src/components/StoryDecorators.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Story as StoryType } from '@storybook/react';
import { Decorator } from '@storybook/react';

export const InSpacing = (Story: StoryType) => (
export const InSpacing: Decorator = (Story) => (
<div style={{ padding: '1rem' }}>
<Story />
</div>
Expand Down

0 comments on commit 971ebc5

Please sign in to comment.