import { jsx as r } from "react/jsx-runtime";
import { createContext as s, useContext as c, useState as i } from "react";
const u = () => {
  throw new Error("setIcons is not initialized yet");
}, o = s({ setIcons: u }), x = () => c(o), a = ({ children: t }) => {
  const [e, n] = i({});
  return /* @__PURE__ */ r(o.Provider, { value: { ...e, setIcons: n }, children: t });
};
export {
  o as IconToolContext,
  a as IconToolProvider,
  x as useIconToolContext
};
