import { clear, fail, hide, info, loading, show, success } from "./methods.js";
import { useMemo } from "react";
import "./index.less";
//#region src/components/pisellToast/squareToast/index.tsx
const useToast = () => {
	return useMemo(() => ({
		show,
		clear,
		success,
		info,
		loading,
		fail,
		error: fail,
		hide
	}), []);
};
//#endregion
export { useToast };
