"use client";

import { TransactionDetailSheet } from "@/components/customer/transaction-detail-sheet";
import type { MixedFundRow } from "./schema";

const DETAIL_CONFIG = {
  entityLabel: "Mixed fund transaction",
  showActions: false,
} as const;

export function MixedFundDetailSheet(props: {
  row: MixedFundRow | null;
  open: boolean;
  onOpenChange: (open: boolean) => void;
  onEdit: (row: MixedFundRow) => void;
  onDelete: (row: MixedFundRow) => void;
}) {
  return <TransactionDetailSheet {...props} config={DETAIL_CONFIG} />;
}
