{"ast":null,"code":"import { Platform, NativeModules } from \"./react-native\";\nvar NativeIconAPI = NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\nexport default function ensureNativeModuleAvailable() {\n  if (!NativeIconAPI) {\n    if (Platform.OS === 'android') {\n      throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');\n    }\n\n    throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.');\n  }\n}","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/ensure-native-module-available.js"],"names":["Platform","NativeModules","NativeIconAPI","RNVectorIconsManager","RNVectorIconsModule","ensureNativeModuleAvailable","OS","Error"],"mappings":"AAAA,SAASA,QAAT,EAAmBC,aAAnB;AAEA,IAAMC,aAAa,GACjBD,aAAa,CAACE,oBAAd,IAAsCF,aAAa,CAACG,mBADtD;AAGA,eAAe,SAASC,2BAAT,GAAuC;AACpD,MAAI,CAACH,aAAL,EAAoB;AAClB,QAAIF,QAAQ,CAACM,EAAT,KAAgB,SAApB,EAA+B;AAC7B,YAAM,IAAIC,KAAJ,CACJ,sJADI,CAAN;AAGD;;AACD,UAAM,IAAIA,KAAJ,CACJ,0LADI,CAAN;AAGD;AACF","sourcesContent":["import { Platform, NativeModules } from './react-native';\n\nconst NativeIconAPI =\n  NativeModules.RNVectorIconsManager || NativeModules.RNVectorIconsModule;\n\nexport default function ensureNativeModuleAvailable() {\n  if (!NativeIconAPI) {\n    if (Platform.OS === 'android') {\n      throw new Error(\n        'RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.'\n      );\n    }\n    throw new Error(\n      'RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.'\n    );\n  }\n}\n"]},"metadata":{},"sourceType":"module"}