Skip to content

Commit

Permalink
renamed breadcrumb to breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
coderwelsch committed Mar 12, 2024
1 parent f293baf commit fe3d287
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { ChevronRightIcon } from "../../icons";

export const BreadcrumbArrow = () => {
export const BreadcrumbsArrow = () => {
return <ChevronRightIcon className="h-3 w-3 text-neutral-800" />;
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface BreadcrumbItemProps {
active?: boolean;
}

export const BreadcrumbItem: React.FC<BreadcrumbItemProps> = ({
export const BreadcrumbsItem: React.FC<BreadcrumbItemProps> = ({
children,
className,
href,
Expand Down
8 changes: 4 additions & 4 deletions src/components/breadcrumbs/breadcrumbs.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { BreadcrumbItem } from "./breadcrumb-item";
import { BreadcrumbArrow } from "./breadcrumb-arrow";
import { BreadcrumbsItem } from "./breadcrumbs-item";
import { BreadcrumbsArrow } from "./breadcrumbs-arrow";

export interface BreadcrumbsProps {
children: React.ReactNode;
Expand All @@ -14,7 +14,7 @@ const Breadcrumbs = ({ children }: BreadcrumbsProps) => {
);
};

Breadcrumbs.Item = BreadcrumbItem;
Breadcrumbs.Arrow = BreadcrumbArrow;
Breadcrumbs.Item = BreadcrumbsItem;
Breadcrumbs.Arrow = BreadcrumbsArrow;

export { Breadcrumbs };

0 comments on commit fe3d287

Please sign in to comment.