"use client";

import React from "react";
import { ManufacturerDetail } from "@/components/shared/components/detail/ManufacturerDetail";

interface ManufacturerPanelProps {
  data: Record<string, unknown>;
  context?: "sheet" | "panel";
}

/**
 * ManufacturerPanel displays a summary of manufacturer information in a dashboard panel.
 *
 * Architectural Note: This component is a thin wrapper around the shared ManufacturerDetail
 * component, using the "panel" context to provide a consistent summary view.
 */
export function ManufacturerPanel({ data, context = "panel" }: ManufacturerPanelProps) {
  return (
    <ManufacturerDetail
      data={data}
      context={context}
      showEdit={false}
    />
  );
}
