a8bb4dcd5e48181fdef0e3cad959f44c.json 1.23 KB
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var isDisabled=function isDisabled(props){return props.disabled||Array.isArray(props.accessibilityStates)&&props.accessibilityStates.indexOf('disabled')>-1;};var _default=isDisabled;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/AccessibilityUtil/isDisabled.js"],"names":["isDisabled","props","disabled","Array","isArray","accessibilityStates","indexOf"],"mappings":"gFAQA,GAAIA,CAAAA,UAAU,CAAG,QAASA,CAAAA,UAAT,CAAoBC,KAApB,CAA2B,CAC1C,MAAOA,CAAAA,KAAK,CAACC,QAAN,EAAkBC,KAAK,CAACC,OAAN,CAAcH,KAAK,CAACI,mBAApB,GAA4CJ,KAAK,CAACI,mBAAN,CAA0BC,OAA1B,CAAkC,UAAlC,EAAgD,CAAC,CAAtH,CACD,CAFD,C,aAIeN,U","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar isDisabled = function isDisabled(props) {\n  return props.disabled || Array.isArray(props.accessibilityStates) && props.accessibilityStates.indexOf('disabled') > -1;\n};\n\nexport default isDisabled;"]},"metadata":{},"sourceType":"script"}