"use client";

import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core";
import { IconEdit } from "@tabler/icons-react";
import React from "react";

export default function LayoutDetailDraftInvestasi({
  children,
  id
}: {
  children: React.ReactNode;
  id: string
}) {
  return (
    <>
      <AppShell
        header={
          <ComponentGlobal_HeaderTamplate
            title="Detail Draft"
            icon={<IconEdit />}
            route2={`/dev/investasi/edit/${id}`}
          />
        }
      >
        {children}
      </AppShell>
    </>
  );
}
