react-native-camera/index.android.js

13 lines
319 B
JavaScript

var { requireNativeComponent, PropTypes } = 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);