mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-10 18:36:50 +00:00
feat: create story for general header
This commit is contained in:
parent
9633fe76d2
commit
21901e3840
33
src/components/General/Header.stories.tsx
Normal file
33
src/components/General/Header.stories.tsx
Normal file
@ -0,0 +1,33 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import Header from './Header'
|
||||
|
||||
const meta = {
|
||||
title: 'General/Header',
|
||||
component: Header,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof Header>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
selectedTag: 'pair',
|
||||
},
|
||||
}
|
||||
|
||||
export const CreateTag: Story = {
|
||||
args: {
|
||||
selectedTag: 'create',
|
||||
},
|
||||
}
|
||||
|
||||
export const ConnectTag: Story = {
|
||||
args: {
|
||||
selectedTag: 'connect',
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user