Skip to content

Commit

Permalink
chore: test build error 수정 #245
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Mar 3, 2024
1 parent 595f869 commit 3a730aa
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
44 changes: 22 additions & 22 deletions src/components/shared/carousel/Banner.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
import type { Meta, StoryObj } from '@storybook/react';
// import type { Meta, StoryObj } from '@storybook/react';

import { MOCK_BANNER_DATA } from '@mocks/homeHandler/mocks';
// import { MOCK_BANNER_DATA } from '@mocks/homeHandler/mocks';

import Banner from './Banner';
// import Banner from './Banner';

const meta = {
title: 'Shared/Banner',
component: Banner,
parameters: {
},
tags: ['autodocs'],
argTypes: {
bannerData: {
control: 'object',
},
},
} satisfies Meta<typeof Banner>;
// const meta = {
// title: 'Shared/Banner',
// component: Banner,
// parameters: {
// },
// tags: ['autodocs'],
// argTypes: {
// bannerData: {
// control: 'object',
// },
// },
// } satisfies Meta<typeof Banner>;

export default meta;
type Story = StoryObj<typeof meta>;
// export default meta;
// type Story = StoryObj<typeof meta>;

export const AdBanner: Story = {
args: {
bannerData: MOCK_BANNER_DATA,
},
};
// export const AdBanner: Story = {
// args: {
// bannerData: MOCK_BANNER_DATA,
// },
// };
36 changes: 18 additions & 18 deletions src/components/shared/carousel/RecommendList.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import type { Meta, StoryObj } from '@storybook/react';
// import type { Meta, StoryObj } from '@storybook/react';

import RecommendList from './RecommendList';
// import RecommendList from './RecommendList';

const meta = {
title: 'Shared/RecommendList',
component: RecommendList,
parameters: {
},
tags: ['autodocs'],
argTypes: {
},
} satisfies Meta<typeof RecommendList>;
// const meta = {
// title: 'Shared/RecommendList',
// component: RecommendList,
// parameters: {
// },
// tags: ['autodocs'],
// argTypes: {
// },
// } satisfies Meta<typeof RecommendList>;

export default meta;
type Story = StoryObj<typeof meta>;
// export default meta;
// type Story = StoryObj<typeof meta>;

export const AdBanner: Story = {
args: {
// recommendProductsData: MOCK_RECOMMEND_PRODUCTS,
},
};
// export const AdBanner: Story = {
// args: {
// recommendProductsData: MOCK_RECOMMEND_PRODUCTS,
// },
// };

0 comments on commit 3a730aa

Please sign in to comment.