import classNames from "classnames";
import { XIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
import { Page } from "@/types";
export function ListPagesItem({
page,
currentPage,
onSelectPage,
onDeletePage,
index,
}: {
page: Page;
currentPage: string;
onSelectPage: (path: string, newPath?: string) => void;
onDeletePage: (path: string) => void;
index: number;
}) {
return (
onSelectPage(page.path)}
title={page.path}
>
{/* {index > 0 && (
)} */}
{page.path}
{index > 0 && (
)}
);
}