import { deepMerge } from '@teamix/utils';
import useDialogAction from './dialog';
export function useConfirmAction(action, context) {
  return useDialogAction(deepMerge({
    dialogQuickShowType: 'confirm',
    messageProps: {
      type: 'warning'
    }
  }, action), context);
}
export default useConfirmAction;