GT2/GT2-Android/node_modules/react-native-svg/lib/createReactNativeComponentC...

7 lines
342 B
JavaScript
Raw Normal View History

import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js'
export default (uiViewClassName, getViewConfig) =>
createReactNativeComponentClass.length >= 2
? createReactNativeComponentClass(uiViewClassName, getViewConfig)
: createReactNativeComponentClass(getViewConfig())