x
This commit is contained in:
16
app/components/BreadCrumbs/index.tsx
Normal file
16
app/components/BreadCrumbs/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import React, { Children } from "react";
|
||||
import { useParams } from "next/navigation";
|
||||
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const BreadCrumbs = ({ children }: Props) => {
|
||||
const { serverid, path } = useParams();
|
||||
|
||||
return <div>{children}</div>;
|
||||
};
|
||||
|
||||
export default BreadCrumbs;
|
||||
Reference in New Issue
Block a user