feat: add client setup subtitle constant

This commit is contained in:
RadoslavDimchev 2023-09-27 17:49:20 +03:00
parent db499df44f
commit be0e13aebd
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react' import type { Meta, StoryObj } from '@storybook/react'
import ValidatorsMenuWithPrice from './ValidatorsMenuWithPrice' import ValidatorsMenuWithPrice from './ValidatorsMenuWithPrice'
import { DEPOSIT_SUBTITLE } from '../../constants' import { CLIENT_SETUP_SUBTITLE, DEPOSIT_SUBTITLE } from '../../constants'
const meta = { const meta = {
title: 'General/ValidatorsMenuWithPrice', title: 'General/ValidatorsMenuWithPrice',
@ -24,7 +24,7 @@ export const ClientSetupLabel: Story = {
args: { args: {
validatorCount: 2, validatorCount: 2,
changeValidatorCountHandler: () => {}, changeValidatorCountHandler: () => {},
label: 'How many Validators would you like to run?', label: CLIENT_SETUP_SUBTITLE,
}, },
} }

View File

@ -32,3 +32,4 @@ export const CURRENCIES = [
}, },
] ]
export const DEPOSIT_SUBTITLE = 'Connect you Wallet to stake required ETH for new validators' export const DEPOSIT_SUBTITLE = 'Connect you Wallet to stake required ETH for new validators'
export const CLIENT_SETUP_SUBTITLE = 'How many Validators would you like to run?'