import { globalState } from "@/store/state";

export const showTip = (
  tip: string,
  handleConfirm: () => void,
  handleCancel?: () => void,
  hightwords = ""
) => {
  console.log("show");
  globalState.syMessageBoxConfig = {
    visible: true,
    tip,
    handleConfirm,
    handleCancel,
  };
};
