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="Execution Sync Status"
|
||||
value=""
|
||||
isGaugeIncluded={true}
|
||||
gaugeColor={'#2a4af5'}
|
||||
gaugeSynced={123.524}
|
||||
@ -61,7 +60,6 @@ const Activation = () => {
|
||||
/>
|
||||
<ActivationCard
|
||||
text="Execution Sync Status"
|
||||
value=""
|
||||
isGaugeIncluded={true}
|
||||
gaugeColor={'#EB5757'}
|
||||
gaugeSynced={123.524}
|
||||
|
@ -77,6 +77,5 @@ export const WithoutTitle: Story = {
|
||||
export const WithoutValue: Story = {
|
||||
args: {
|
||||
text: 'Title',
|
||||
value: '',
|
||||
},
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ import ActivationSyncCard from './ActivationSyncCard'
|
||||
|
||||
type ActivationCardProps = {
|
||||
text: string
|
||||
value: string
|
||||
value?: string
|
||||
isGaugeIncluded?: boolean
|
||||
gaugeColor?: string
|
||||
gaugeSynced?: number
|
||||
|
Loading…
x
Reference in New Issue
Block a user