react-native-camera/index.android.js

12 lines
307 B
JavaScript
Raw Normal View History

var { requireNativeComponent } = require('react-native');
var iface = {
name: 'ImageView',
propTypes: {
src: PropTypes.string,
borderRadius: PropTypes.number,
resizeMode: PropTypes.oneOf(['cover', 'contain', 'stretch']),
},
};
module.exports = requireNativeComponent('RCTCamera', iface);