From 5afd4ced4d2a71fe04a602544fba45556e703f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CSalar?= <“salar.sali97@gmail.com”> Date: Wed, 12 Oct 2022 11:50:17 +0300 Subject: [PATCH] Link component has been added to the icon to referense to the home page --- .../Article/ArticleParts/ArticleBreadcumbs.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Article/ArticleParts/ArticleBreadcumbs.tsx b/src/components/Article/ArticleParts/ArticleBreadcumbs.tsx index e52881e..440bf86 100644 --- a/src/components/Article/ArticleParts/ArticleBreadcumbs.tsx +++ b/src/components/Article/ArticleParts/ArticleBreadcumbs.tsx @@ -2,10 +2,11 @@ import React from "react"; import Breadcrumbs from "components/breadcrumbs"; import Logo from "components/Logo"; import classNames from "classnames"; +import Link from "components/Link"; type ArticleBreadcumbsProps = { emphasis?: "high" | "low"; - children?: string[]; + children?: React.ReactNode; }; export function ArticleBreadcumbs({ @@ -22,7 +23,11 @@ export function ArticleBreadcumbs({ } )} > - {emphasis === "high" ? : null} + {emphasis === "high" ? ( + + + + ) : null} {children} );