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

1 line
1.1 KiB
JSON

{"ast":null,"code":"/**\n * Since Select, TreeSelect, Cascader is same Select like component.\n * We just use same hook to handle this logic.\n *\n * If `suffixIcon` is not equal to `null`, always show it.\n */\nexport default function useShowArrow(suffixIcon, showArrow) {\n return showArrow !== undefined ? showArrow : suffixIcon !== null;\n}","map":{"version":3,"names":["useShowArrow","suffixIcon","showArrow","undefined"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/select/useShowArrow.js"],"sourcesContent":["/**\n * Since Select, TreeSelect, Cascader is same Select like component.\n * We just use same hook to handle this logic.\n *\n * If `suffixIcon` is not equal to `null`, always show it.\n */\nexport default function useShowArrow(suffixIcon, showArrow) {\n return showArrow !== undefined ? showArrow : suffixIcon !== null;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,SAASA,YAAYA,CAACC,UAAU,EAAEC,SAAS,EAAE;EAC1D,OAAOA,SAAS,KAAKC,SAAS,GAAGD,SAAS,GAAGD,UAAU,KAAK,IAAI;AAClE","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}