1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
|
{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nconst SizeContext = /*#__PURE__*/React.createContext(undefined);\nexport const SizeContextProvider = _ref => {\n let {\n children,\n size\n } = _ref;\n const originSize = React.useContext(SizeContext);\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n};\nexport default SizeContext;","map":{"version":3,"names":["React","SizeContext","createContext","undefined","SizeContextProvider","_ref","children","size","originSize","useContext","createElement","Provider","value"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/config-provider/SizeContext.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nconst SizeContext = /*#__PURE__*/React.createContext(undefined);\nexport const SizeContextProvider = _ref => {\n let {\n children,\n size\n } = _ref;\n const originSize = React.useContext(SizeContext);\n return /*#__PURE__*/React.createElement(SizeContext.Provider, {\n value: size || originSize\n }, children);\n};\nexport default SizeContext;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,MAAMC,WAAW,GAAG,aAAaD,KAAK,CAACE,aAAa,CAACC,SAAS,CAAC;AAC/D,OAAO,MAAMC,mBAAmB,GAAGC,IAAI,IAAI;EACzC,IAAI;IACFC,QAAQ;IACRC;EACF,CAAC,GAAGF,IAAI;EACR,MAAMG,UAAU,GAAGR,KAAK,CAACS,UAAU,CAACR,WAAW,CAAC;EAChD,OAAO,aAAaD,KAAK,CAACU,aAAa,CAACT,WAAW,CAACU,QAAQ,EAAE;IAC5DC,KAAK,EAAEL,IAAI,IAAIC;EACjB,CAAC,EAAEF,QAAQ,CAAC;AACd,CAAC;AACD,eAAeL,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|