1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nconst DisabledContext = /*#__PURE__*/React.createContext(false);\nexport const DisabledContextProvider = _ref => {\n let {\n children,\n disabled\n } = _ref;\n const originDisabled = React.useContext(DisabledContext);\n return /*#__PURE__*/React.createElement(DisabledContext.Provider, {\n value: disabled !== null && disabled !== void 0 ? disabled : originDisabled\n }, children);\n};\nexport default DisabledContext;","map":{"version":3,"names":["React","DisabledContext","createContext","DisabledContextProvider","_ref","children","disabled","originDisabled","useContext","createElement","Provider","value"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/config-provider/DisabledContext.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nconst DisabledContext = /*#__PURE__*/React.createContext(false);\nexport const DisabledContextProvider = _ref => {\n let {\n children,\n disabled\n } = _ref;\n const originDisabled = React.useContext(DisabledContext);\n return /*#__PURE__*/React.createElement(DisabledContext.Provider, {\n value: disabled !== null && disabled !== void 0 ? disabled : originDisabled\n }, children);\n};\nexport default DisabledContext;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,MAAMC,eAAe,GAAG,aAAaD,KAAK,CAACE,aAAa,CAAC,KAAK,CAAC;AAC/D,OAAO,MAAMC,uBAAuB,GAAGC,IAAI,IAAI;EAC7C,IAAI;IACFC,QAAQ;IACRC;EACF,CAAC,GAAGF,IAAI;EACR,MAAMG,cAAc,GAAGP,KAAK,CAACQ,UAAU,CAACP,eAAe,CAAC;EACxD,OAAO,aAAaD,KAAK,CAACS,aAAa,CAACR,eAAe,CAACS,QAAQ,EAAE;IAChEC,KAAK,EAAEL,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAGC;EAC/D,CAAC,EAAEF,QAAQ,CAAC;AACd,CAAC;AACD,eAAeJ,eAAe","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |