PromoCursed/node_modules/.cache/babel-loader/f9fbfcf7937f086cd45a20b52147810f75ca171982a480b1b8e9542589329df2.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/Аришина)/source/repos/PromoCursed/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":[]}