UNPKG

967 BSource Map (JSON)View Raw
1{"version":3,"sources":["ViewPagerNative.tsx"],"names":["VIEW_MANAGER_NAME","ViewpagerViewManager","getViewManagerConfig","viewManagerName","UIManager"],"mappings":";;;;;;;;AACA;;AAGA,MAAMA,iBAAiB,GAAG,cAA1B;AAMO,MAAMC,oBAAoB,GAAG,yCAClCD,iBADkC,CAA7B;;;AAIA,SAASE,oBAAT,CAA8BC,eAAe,GAAGH,iBAAhD,EAAmE;AACxE,SAAOI,uBAAUF,oBAAV,CAA+BC,eAA/B,CAAP;AACD","sourcesContent":["import type { ReactElement } from 'react';\nimport { HostComponent, requireNativeComponent, UIManager } from 'react-native';\nimport type { ViewPagerProps } from './types';\n\nconst VIEW_MANAGER_NAME = 'RNCViewPager';\n\ninterface ViewpagerViewManagerType extends HostComponent<ViewPagerProps> {\n getInnerViewNode(): ReactElement;\n}\n\nexport const ViewpagerViewManager = requireNativeComponent(\n VIEW_MANAGER_NAME\n) as ViewpagerViewManagerType;\n\nexport function getViewManagerConfig(viewManagerName = VIEW_MANAGER_NAME) {\n return UIManager.getViewManagerConfig(viewManagerName);\n}\n"]}
\No newline at end of file