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

1 line
1.1 KiB
JSON

{"ast":null,"code":"import toArray from \"rc-util/es/Children/toArray\";\nexport default function useChildren(children) {\n if (typeof children === 'function') {\n return children;\n }\n const childList = toArray(children);\n return childList.length <= 1 ? childList[0] : childList;\n}","map":{"version":3,"names":["toArray","useChildren","children","childList","length"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/form/hooks/useChildren.js"],"sourcesContent":["import toArray from \"rc-util/es/Children/toArray\";\nexport default function useChildren(children) {\n if (typeof children === 'function') {\n return children;\n }\n const childList = toArray(children);\n return childList.length <= 1 ? childList[0] : childList;\n}"],"mappings":"AAAA,OAAOA,OAAO,MAAM,6BAA6B;AACjD,eAAe,SAASC,WAAWA,CAACC,QAAQ,EAAE;EAC5C,IAAI,OAAOA,QAAQ,KAAK,UAAU,EAAE;IAClC,OAAOA,QAAQ;EACjB;EACA,MAAMC,SAAS,GAAGH,OAAO,CAACE,QAAQ,CAAC;EACnC,OAAOC,SAAS,CAACC,MAAM,IAAI,CAAC,GAAGD,SAAS,CAAC,CAAC,CAAC,GAAGA,SAAS;AACzD","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}