fix(management-card): delete old component and story
This commit is contained in:
parent
08802ffce4
commit
8224b5f24e
|
@ -1,19 +0,0 @@
|
|||
import type { Meta, StoryObj } from '@storybook/react'
|
||||
|
||||
import ManagementCard from './ManagementCard'
|
||||
|
||||
const meta = {
|
||||
title: 'ValidatorManagement/ManagementCard',
|
||||
component: ManagementCard,
|
||||
parameters: {
|
||||
layout: 'centered',
|
||||
},
|
||||
tags: ['autodocs'],
|
||||
} satisfies Meta<typeof ManagementCard>
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {},
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
import { Text } from '@status-im/components'
|
||||
import { Separator, Stack, YStack } from 'tamagui'
|
||||
|
||||
const ManagementCard = () => {
|
||||
return (
|
||||
<YStack
|
||||
space={'$3'}
|
||||
style={{
|
||||
border: '1px solid #F0F2F5',
|
||||
borderRadius: '16px',
|
||||
minWidth: '33%',
|
||||
}}
|
||||
>
|
||||
<Stack style={{ padding: '12px 16px' }}>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
Validators
|
||||
</Text>
|
||||
</Stack>
|
||||
<Separator borderColor={'#F0F2F5'} />
|
||||
<Stack style={{ padding: '12px 16px' }}>
|
||||
<Text size={15} weight={'semibold'} color="#647084">
|
||||
Total Balance
|
||||
</Text>
|
||||
</Stack>
|
||||
<Separator borderColor={'#F0F2F5'} />
|
||||
<Stack style={{ padding: '12px 16px', marginBottom: '16px' }}>
|
||||
<Text size={15} weight={'semibold'} color="#647084">
|
||||
Total Income
|
||||
</Text>
|
||||
</Stack>
|
||||
</YStack>
|
||||
)
|
||||
}
|
||||
|
||||
export default ManagementCard
|
Loading…
Reference in New Issue