Skip to content

Commit 7bdc8d0

Browse files
fix(storybook): update imports
1 parent 327f984 commit 7bdc8d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stories/ClassCard.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React from 'react';
2-
import { ComponentMeta, ComponentStory } from '@storybook/react';
2+
import { Meta, StoryFn } from '@storybook/react';
33
import ClassCard from '@components/ClassCard';
44
import { Grid } from '@mui/material';
55

66
export default {
77
title: 'General/ClassCard',
88
component: ClassCard,
9-
} as ComponentMeta<typeof ClassCard>;
9+
} as Meta<typeof ClassCard>;
1010

11-
const Template: ComponentStory<typeof ClassCard> = (args) => (
11+
const Template: StoryFn<typeof ClassCard> = (args) => (
1212
<>
1313
<Grid container spacing={2}>
1414
<Grid item xs={4}>

0 commit comments

Comments
 (0)