feat(SW-3636): Storybook structure * New sections in Storybook sidebar * Group Storybook content files and add token files for spacing, border radius and shadows Approved-by: Joakim Jäderberg
27 lines
706 B
TypeScript
27 lines
706 B
TypeScript
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
|
|
import { StandaloneHotelCardDialog } from './index'
|
|
|
|
import { Lang } from '@scandic-hotels/common/constants/language'
|
|
import { fn } from 'storybook/test'
|
|
import { hotelPins } from '../../../Map/InteractiveMap/storybookData'
|
|
|
|
const meta: Meta<typeof StandaloneHotelCardDialog> = {
|
|
title: 'Product Components/HotelCard/StandaloneHotelCardDialog',
|
|
component: StandaloneHotelCardDialog,
|
|
argTypes: {},
|
|
}
|
|
|
|
export default meta
|
|
|
|
type Story = StoryObj<typeof StandaloneHotelCardDialog>
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
lang: Lang.en,
|
|
isUserLoggedIn: false,
|
|
onClick: fn(),
|
|
data: hotelPins[0],
|
|
handleClose: fn(),
|
|
},
|
|
}
|