import { storeClient } from '../../api/clients';
import { STORE } from '../../api/config';
import { DetailView } from './DetailView';
import type { WiredDetailViewProps } from './OrderDetail';

/** Store detail view (Store workflow). */
export function StoreDetail({ instanceId, columns }: WiredDetailViewProps) {
  return (
    <DetailView
      client={storeClient}
      dvUid={STORE.detailViews.STORE}
      instanceId={instanceId}
      title="Store"
      columns={columns}
    />
  );
}
