mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-31 21:56:06 +00:00
fix(breadcrumb): remove props
This commit is contained in:
parent
d022f1f383
commit
3f9fefb275
@ -1,11 +1,8 @@
|
||||
import { XStack } from 'tamagui'
|
||||
import BreadcrumbElement from './BreadcrumbElement'
|
||||
|
||||
type BreadcrumbProps = {
|
||||
breadcrumbList: string[]
|
||||
}
|
||||
const Breadcrumb = () => {
|
||||
|
||||
const Breadcrumb = ({ breadcrumbList }: BreadcrumbProps) => {
|
||||
return (
|
||||
<XStack space={'$2'} alignItems="center">
|
||||
{breadcrumbList.map((element, index) => (
|
||||
|
@ -22,13 +22,7 @@ const PanelContent = ({
|
||||
space={'$3'}
|
||||
style={{ padding: isModalWidth ? 0 : '30px', alignItems: 'start' }}
|
||||
>
|
||||
<Breadcrumb
|
||||
breadcrumbList={[
|
||||
'Validator Management',
|
||||
'Manage Validator',
|
||||
'Migrate Panel',
|
||||
]}
|
||||
/>
|
||||
<Breadcrumb />
|
||||
<XStack style={{ width: '100%', justifyContent: 'space-between' }}>
|
||||
<Text size={19} weight={'semibold'}>
|
||||
{title}
|
||||
|
Loading…
x
Reference in New Issue
Block a user