Seems you're trying to access 'ReactNative.createClass'