Skip to content

Instantly share code, notes, and snippets.

@Tamplier
Created March 15, 2017 15:50
Show Gist options
  • Save Tamplier/9ffb7a09473935787bfeb9b568833a9a to your computer and use it in GitHub Desktop.
Save Tamplier/9ffb7a09473935787bfeb9b568833a9a to your computer and use it in GitHub Desktop.
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