Skip to content

Commit

Permalink
test: add a story fo widget util
Browse files Browse the repository at this point in the history
  • Loading branch information
shootermv committed Nov 23, 2023
1 parent fa67f0c commit d74668a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/pages/components/MapLayers/Widget.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { Meta, StoryObj } from '@storybook/react'
import { BusToolTip } from './BusToolTip'
import '../../dashboard/DashboardPage.scss'
const meta = {
title: 'Components/Widget',
component: () => (
<div style={{ background: '#f0f2f5', width: '400px', padding: '20px' }}>
<div className="widget">
שלום חברים!
<br />
ככה נראה widget util
</div>
</div>
),
parameters: {
layout: 'centered',
},
tags: ['map', 'tooltip', 'autodocs'],
} satisfies Meta<typeof BusToolTip>

export default meta

type Story = StoryObj<typeof meta>

const defaultArgs = {}

export const Default: Story = {
args: defaultArgs,
}

0 comments on commit d74668a

Please sign in to comment.