Created
March 15, 2017 15:50
-
-
Save Tamplier/9ffb7a09473935787bfeb9b568833a9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { PropTypes, Component } from 'react'; | |
import { requireNativeComponent, View, DeviceEventEmitter } from 'react-native'; | |
class iface extends Component{ | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
return <MRECView {...this.props} />; | |
} | |
} | |
iface.propTypes = { | |
...View.propTypes, | |
} | |
var MRECView = requireNativeComponent('MrecView', iface); | |
export default MRECView; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment