feat(panel-content): add breadcrumb bar

This commit is contained in:
RadoslavDimchev 2024-04-25 19:29:53 +03:00 committed by Emil Ivanichkov
parent ec7e730b38
commit e1e600d5c2

View File

@ -1,6 +1,7 @@
import { Text } from '@status-im/components'
import { ExpandRsIcon } from '@status-im/icons'
import { XStack, YStack } from 'tamagui'
import BreadcrumbBar from '../../../components/General/BreadcrumbBar/BreadcrumbBar'
type PanelContentProps = {
children: React.ReactNode
@ -20,6 +21,13 @@ const PanelContent = ({
space={'$3'}
style={{ padding: isModalWidth ? 0 : '30px', alignItems: 'start' }}
>
<BreadcrumbBar
breadcrumbList={[
'Validator Management',
'Manage Validator',
'Migrate Panel',
]}
/>
<XStack style={{ width: '100%', justifyContent: 'space-between' }}>
<Text size={19} weight={'semibold'}>
{title}