diff --git a/src/components/General/Breadcrumb/Breadcrumb.tsx b/src/components/General/Breadcrumb/Breadcrumb.tsx index 8f68fff5..2ccdf8b0 100644 --- a/src/components/General/Breadcrumb/Breadcrumb.tsx +++ b/src/components/General/Breadcrumb/Breadcrumb.tsx @@ -2,29 +2,25 @@ import { Text } from '@status-im/components' import { ChevronRightIcon } from '@status-im/icons' import { XStack } from 'tamagui' -import './Breadcrumb.css' - type BreadcrumbBarProps = { breadcrumbList: string[] } const Breadcrumb = ({ breadcrumbList }: BreadcrumbBarProps) => { return ( - + + {breadcrumbList.map((item, index) => { + const isNotLast = index !== breadcrumbList.length - 1 + return ( + + + {item} + + {isNotLast && } + + ) + })} + ) }