import { FunctionComponent } from 'react';
import EmptyState from '../common/EmptyState';

export interface AdminEmptyStateProps {
  /** AppIcon registry name. */
  icon?: string;
  /** Already-translated title. */
  title: string;
  /** Optional already-translated body. */
  body?: string;
}

/**
 * Thin admin-scoped alias of the shared `EmptyState` — kept so existing backoffice call sites don't need
 * a mechanical import rename. New code (admin or otherwise) should import `EmptyState` from `@/components`.
 * @component AdminEmptyState
 */
const AdminEmptyState: FunctionComponent<AdminEmptyStateProps> = (props) => <EmptyState {...props} />;

export default AdminEmptyState;
