feat: create story for deposit header

This commit is contained in:
RadoslavDimchev 2023-09-20 22:04:18 +03:00
parent 1191b800d1
commit c36043d056

View File

@ -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,
},
}