"use client";

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

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

/**
 * BrandPanel displays a summary of brand information in a dashboard panel.
 *
 * Architectural Note: This component is a thin wrapper around the shared BrandDetail
 * component, using the "panel" context to provide a consistent summary view
 * while maintaining a single source of truth for brand detail presentation.
 */
export function BrandPanel({ data, context = "panel" }: BrandPanelProps) {
  return (
    <BrandDetail
      data={data}
      context={context}
      showEdit={false}
    />
  );
}
