Removed unused core from Image.android.js

Summary: Trivial.

Reviewed By: sahrens

Differential Revision: D6721449

fbshipit-source-id: 6ae001d4161167e0e86b1dc134c1621b3974b489
This commit is contained in:
Valentin Shergin 2018-01-15 15:25:10 -08:00 committed by Facebook Github Bot
parent 831a1bb4b1
commit ce3146a6f3
1 changed files with 0 additions and 17 deletions

View File

@ -19,11 +19,9 @@ var NativeModules = require('NativeModules');
var React = require('React');
var PropTypes = require('prop-types');
var ReactNativeViewAttributes = require('ReactNativeViewAttributes');
var Set = require('Set');
var StyleSheet = require('StyleSheet');
var StyleSheetPropType = require('StyleSheetPropType');
var ViewPropTypes = require('ViewPropTypes');
var ViewStylePropTypes = require('ViewStylePropTypes');
var createReactClass = require('create-react-class');
var flattenStyle = require('flattenStyle');
@ -63,21 +61,6 @@ function generateRequestId() {
* More example code in ImageExample.js
*/
var ImageViewAttributes = merge(ReactNativeViewAttributes.UIView, {
src: true,
loadingIndicatorSrc: true,
resizeMethod: true,
resizeMode: true,
progressiveRenderingEnabled: true,
fadeDuration: true,
shouldNotifyLoadEvents: true,
});
var ViewStyleKeys = new Set(Object.keys(ViewStylePropTypes));
var ImageSpecificStyleKeys = new Set(
Object.keys(ImageStylePropTypes).filter(x => !ViewStyleKeys.has(x)),
);
var Image = createReactClass({
displayName: 'Image',
propTypes: {