"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "useToast", {
    enumerable: true,
    get: function() {
        return useToast;
    }
});
var _react = require("react");
var _ToastContext = require("./ToastContext");
var useToast = function useToast() {
    var _useContext = (0, _react.useContext)(_ToastContext.ToastContext), showToast = _useContext.showToast, hideToast = _useContext.hideToast;
    return {
        showToast: showToast,
        hideToast: hideToast
    };
};
