import { ToastContainer as BaseToastContainer, toast as baseToast, } from "@powerhousedao/design-system/connect";
import { createElement } from "react";
export const CONNECT_TOAST_CONTAINER_ID = "connect";
export const ToastContainer = () => createElement(BaseToastContainer, {
    containerId: CONNECT_TOAST_CONTAINER_ID,
});
export function toast(content, options) {
    const { type = "default", containerId = CONNECT_TOAST_CONTAINER_ID, ...restOptions } = options || {};
    return baseToast(content, { type, containerId, ...restOptions });
}
//# sourceMappingURL=toast.js.map