Fix usage of changed types

This commit is contained in:
Kasper Peulen 2022-10-26 12:05:38 +02:00
parent 420ceaf057
commit be6fb1ffb6

View File

@ -1,5 +1,5 @@
import React, { FC } from 'react';
import type { ComponentStory, ComponentMeta } from '@storybook/react';
import type { StoryObj, Meta } from '@storybook/react';
const Component: FC = () => <p>Story</p>;
@ -13,9 +13,9 @@ export default {
</>
),
],
} as ComponentMeta<typeof Component>;
} as Meta<typeof Component>;
export const All: ComponentStory<typeof Component> = {
export const All: StoryObj<typeof Component> = {
decorators: [
(Story) => (
<>