"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 className="breadcrumbs text-sm">
      <ul>{children}</ul>
    </div>
  );
};

export default BreadCrumbs;
