import { FunctionComponent } from 'react';
import ConfirmDialog, { ConfirmDialogProps } from '../common/ConfirmDialog';

export type { ConfirmDialogProps };

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

export default AdminConfirmDialog;
