-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #391 from Sitecore/feature/sponsorlisting-storybook
Add missing story for sponsorlisting
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 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
22 changes: 22 additions & 0 deletions
22
...24/Sugcon/src/stories/components/List Components/SponsorListing.ImageWithPopup.stories.ts
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
import { Story } from '@storybook/blocks'; | ||
import { LogoWithPopup } from 'src/components/Sponsors/SponsorListing'; | ||
import { Default as DefaultSponsorListing } from './SponsorListing.Default.stories'; | ||
|
||
const meta = { | ||
title: 'Components/SponsorListing', | ||
|
||
component: LogoWithPopup, | ||
parameters: { | ||
layout: 'padded', | ||
}, | ||
argTypes: {}, | ||
} satisfies Meta<typeof LogoWithPopup>; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof meta>; | ||
|
||
export const SponsorListLogoWithPopup: Story = { | ||
name: 'Logo with pop-up', | ||
args: DefaultSponsorListing.args, | ||
}; |