mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-23 09:49:17 +00:00
feat: create story for title logo
This commit is contained in:
parent
eeccf4d30a
commit
a6dbd1f2f2
25
src/components/General/TitleLogo.stories.ts
Normal file
25
src/components/General/TitleLogo.stories.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
|
import TitleLogo from './TitleLogo'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'General/TitleLogo',
|
||||||
|
component: TitleLogo,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
} satisfies Meta<typeof TitleLogo>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Default: Story = {
|
||||||
|
args: {
|
||||||
|
subtitle: 'Node Management Dashboard',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
export const WithoutSubtitle: Story = {
|
||||||
|
args: {},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user