We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327f984 commit 7bdc8d0Copy full SHA for 7bdc8d0
src/stories/ClassCard.stories.tsx
@@ -1,14 +1,14 @@
1
import React from 'react';
2
-import { ComponentMeta, ComponentStory } from '@storybook/react';
+import { Meta, StoryFn } from '@storybook/react';
3
import ClassCard from '@components/ClassCard';
4
import { Grid } from '@mui/material';
5
6
export default {
7
title: 'General/ClassCard',
8
component: ClassCard,
9
-} as ComponentMeta<typeof ClassCard>;
+} as Meta<typeof ClassCard>;
10
11
-const Template: ComponentStory<typeof ClassCard> = (args) => (
+const Template: StoryFn<typeof ClassCard> = (args) => (
12
<>
13
<Grid container spacing={2}>
14
<Grid item xs={4}>
0 commit comments