This commit is contained in:
quantulr
2023-11-01 17:27:06 +08:00
parent 7e465da9d2
commit 1a22404f19
87 changed files with 1604 additions and 196 deletions

View File

@ -0,0 +1,19 @@
import React, { ReactNode } from "react";
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
const ArticleWithBreadcrumb = ({
breadcrumb,
children,
}: {
breadcrumb: BreadcrumbItem[];
children: ReactNode;
}) => {
return (
<div className={"flex flex-col h-full"}>
<Breadcrumb navigations={breadcrumb} />
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
</div>
);
};
export default ArticleWithBreadcrumb;