PromoCursed/node_modules/.cache/babel-loader/4c464f029e42b86752362070e8dd02865c46549f753278b2968390441eec53ac.json
2024-08-20 23:25:37 +04:00

1 line
1.3 KiB
JSON

{"ast":null,"code":"import { useContext } from 'react';\nimport DisabledContext from '../DisabledContext';\nimport SizeContext from '../SizeContext';\nfunction useConfig() {\n const componentDisabled = useContext(DisabledContext);\n const componentSize = useContext(SizeContext);\n return {\n componentDisabled,\n componentSize\n };\n}\nexport default useConfig;","map":{"version":3,"names":["useContext","DisabledContext","SizeContext","useConfig","componentDisabled","componentSize"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/config-provider/hooks/useConfig.js"],"sourcesContent":["import { useContext } from 'react';\nimport DisabledContext from '../DisabledContext';\nimport SizeContext from '../SizeContext';\nfunction useConfig() {\n const componentDisabled = useContext(DisabledContext);\n const componentSize = useContext(SizeContext);\n return {\n componentDisabled,\n componentSize\n };\n}\nexport default useConfig;"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,OAAOC,eAAe,MAAM,oBAAoB;AAChD,OAAOC,WAAW,MAAM,gBAAgB;AACxC,SAASC,SAASA,CAAA,EAAG;EACnB,MAAMC,iBAAiB,GAAGJ,UAAU,CAACC,eAAe,CAAC;EACrD,MAAMI,aAAa,GAAGL,UAAU,CAACE,WAAW,CAAC;EAC7C,OAAO;IACLE,iBAAiB;IACjBC;EACF,CAAC;AACH;AACA,eAAeF,SAAS","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}