mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-23 08:38:11 +00:00
feat(breadcrumb-element): create story
This commit is contained in:
parent
7123388306
commit
6667c72e97
@ -0,0 +1,29 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import BreadcrumbElement from './BreadcrumbElement'
|
||||
|
||||
const meta = {
|
||||
title: 'General/BreadcrumbElement',
|
||||
component: BreadcrumbElement,
|
||||
parameters: {
|
||||
layout: 'top',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof BreadcrumbElement>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
element: 'Nodes',
|
||||
isLastElement: false,
|
||||
},
|
||||
}
|
||||
|
||||
export const LastElement: Story = {
|
||||
args: {
|
||||
element: 'Nodes',
|
||||
isLastElement: true,
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user