mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
feat: create story for deposit header
This commit is contained in:
parent
1191b800d1
commit
c36043d056
@ -0,0 +1,27 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import DepositHeader from './DepositHeader'
|
||||
|
||||
const meta = {
|
||||
title: 'ValidatorOnboarding/DepositHeader',
|
||||
component: DepositHeader,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof DepositHeader>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
isTransactionConfirmation: false,
|
||||
},
|
||||
}
|
||||
|
||||
export const TransactionConfirmation: Story = {
|
||||
args: {
|
||||
isTransactionConfirmation: true,
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user