diff --git a/src/components/General/BreadcrumbBar/BreadcrumbBar.css b/src/components/General/Breadcrumb/Breadcrumb.css similarity index 100% rename from src/components/General/BreadcrumbBar/BreadcrumbBar.css rename to src/components/General/Breadcrumb/Breadcrumb.css diff --git a/src/components/General/BreadcrumbBar/BreadcrumbBar.stories.tsx b/src/components/General/Breadcrumb/Breadcrumb.stories.tsx similarity index 67% rename from src/components/General/BreadcrumbBar/BreadcrumbBar.stories.tsx rename to src/components/General/Breadcrumb/Breadcrumb.stories.tsx index 973ccaad..6ce97050 100644 --- a/src/components/General/BreadcrumbBar/BreadcrumbBar.stories.tsx +++ b/src/components/General/Breadcrumb/Breadcrumb.stories.tsx @@ -1,15 +1,15 @@ import type { Meta, StoryObj } from '@storybook/react' -import BreadcrumbBar from './BreadcrumbBar' +import Breadcrumb from './Breadcrumb' const meta = { - title: 'General/BreadcrumbBar', - component: BreadcrumbBar, + title: 'General/Breadcrumb', + component: Breadcrumb, parameters: { layout: 'top', }, tags: ['autodocs'], -} satisfies Meta +} satisfies Meta export default meta type Story = StoryObj diff --git a/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx b/src/components/General/Breadcrumb/Breadcrumb.tsx similarity index 85% rename from src/components/General/BreadcrumbBar/BreadcrumbBar.tsx rename to src/components/General/Breadcrumb/Breadcrumb.tsx index f98c116a..8f68fff5 100644 --- a/src/components/General/BreadcrumbBar/BreadcrumbBar.tsx +++ b/src/components/General/Breadcrumb/Breadcrumb.tsx @@ -2,13 +2,13 @@ import { Text } from '@status-im/components' import { ChevronRightIcon } from '@status-im/icons' import { XStack } from 'tamagui' -import './BreadcrumbBar.css' +import './Breadcrumb.css' type BreadcrumbBarProps = { breadcrumbList: string[] } -const BreadcrumbBar = ({ breadcrumbList }: BreadcrumbBarProps) => { +const Breadcrumb = ({ breadcrumbList }: BreadcrumbBarProps) => { return (