We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 664bacf commit b78b624Copy full SHA for b78b624
src/stories/shared/header/Header.stories.ts
@@ -0,0 +1,34 @@
1
+import { Meta, StoryObj } from '@storybook/react'
2
+
3
+import { Header } from '@/components/shared/header'
4
5
+export default {
6
+ title: 'Shared/Header/Header',
7
+ component: Header,
8
+ parameters: {
9
+ layout: 'fullscreen',
10
+ },
11
+} as Meta
12
13
+export const Default: StoryObj = {
14
+ args: {
15
+ isAuthenticated: false,
16
+ user: null,
17
18
+}
19
+export const WithUserMenu: StoryObj = {
20
21
+ isAuthenticated: true,
22
+ user: {
23
+ id: '2',
24
+ name: 'Alexander',
25
+ imageUrl: 'https://picsum.photos/250/250',
26
27
28
29
+export const LoggedInWithoutUser: StoryObj = {
30
31
32
33
34
0 commit comments