mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-08 09:34:40 +00:00
feat: remove mandatory value from activation card
This commit is contained in:
parent
2c11fd2bc3
commit
c349c56ee2
@ -53,7 +53,6 @@ const Activation = () => {
|
|||||||
<ActivationCard text="Validators" value="4" />
|
<ActivationCard text="Validators" value="4" />
|
||||||
<ActivationCard
|
<ActivationCard
|
||||||
text="Execution Sync Status"
|
text="Execution Sync Status"
|
||||||
value=""
|
|
||||||
isGaugeIncluded={true}
|
isGaugeIncluded={true}
|
||||||
gaugeColor={'#2a4af5'}
|
gaugeColor={'#2a4af5'}
|
||||||
gaugeSynced={123.524}
|
gaugeSynced={123.524}
|
||||||
@ -61,7 +60,6 @@ const Activation = () => {
|
|||||||
/>
|
/>
|
||||||
<ActivationCard
|
<ActivationCard
|
||||||
text="Execution Sync Status"
|
text="Execution Sync Status"
|
||||||
value=""
|
|
||||||
isGaugeIncluded={true}
|
isGaugeIncluded={true}
|
||||||
gaugeColor={'#EB5757'}
|
gaugeColor={'#EB5757'}
|
||||||
gaugeSynced={123.524}
|
gaugeSynced={123.524}
|
||||||
|
@ -77,6 +77,5 @@ export const WithoutTitle: Story = {
|
|||||||
export const WithoutValue: Story = {
|
export const WithoutValue: Story = {
|
||||||
args: {
|
args: {
|
||||||
text: 'Title',
|
text: 'Title',
|
||||||
value: '',
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ import ActivationSyncCard from './ActivationSyncCard'
|
|||||||
|
|
||||||
type ActivationCardProps = {
|
type ActivationCardProps = {
|
||||||
text: string
|
text: string
|
||||||
value: string
|
value?: string
|
||||||
isGaugeIncluded?: boolean
|
isGaugeIncluded?: boolean
|
||||||
gaugeColor?: string
|
gaugeColor?: string
|
||||||
gaugeSynced?: number
|
gaugeSynced?: number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user