import * as t from "react";
const o = /* @__PURE__ */ t.createContext(!1), r = (n) => {
  let {
    children: a,
    disabled: e
  } = n;
  const l = t.useContext(o);
  return /* @__PURE__ */ t.createElement(o.Provider, {
    value: e ?? l
  }, a);
}, s = o;
export {
  r as DisabledContextProvider,
  s as default
};
