-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
595f869
commit 3a730aa
Showing
2 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
// }, | ||
// }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
// }, | ||
// }; |