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

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