Image cleanup

Reviewed By: yungsters

Differential Revision: D7983744

fbshipit-source-id: c6c1c78fd93b40553688f1444b57074802520f7e
This commit is contained in:
Eli White 2018-05-12 23:10:53 -07:00 committed by Facebook Github Bot
parent 44743c07ad
commit 0fe72579be
2 changed files with 3 additions and 8 deletions

View File

@ -9,18 +9,13 @@
*/
'use strict';
const EdgeInsetsPropType = require('EdgeInsetsPropType');
const ImageProps = require('ImageProps');
const ImageResizeMode = require('ImageResizeMode');
const ImageSourcePropType = require('ImageSourcePropType');
const ImageStylePropTypes = require('ImageStylePropTypes');
const NativeMethodsMixin = require('NativeMethodsMixin');
const NativeModules = require('NativeModules');
const React = require('React');
const PropTypes = require('prop-types');
const ReactNativeViewAttributes = require('ReactNativeViewAttributes');
const StyleSheet = require('StyleSheet');
const StyleSheetPropType = require('StyleSheetPropType');
const createReactClass = require('create-react-class');
const flattenStyle = require('flattenStyle');

View File

@ -18,8 +18,8 @@ const StyleSheetPropType = require('StyleSheetPropType');
import type {ImageSource} from 'ImageSource';
import type {EdgeInsetsProp} from 'EdgeInsetsPropType';
import type {LayoutEvent} from 'CoreEventTypes';
import type {SyntheticEvent} from 'CoreEventTypes';
import type {LayoutEvent, SyntheticEvent} from 'CoreEventTypes';
import type {ImageStyleProp} from 'StyleSheet';
export type ImageProps = {
accessible?: boolean,
@ -35,7 +35,7 @@ export type ImageProps = {
resizeMethod?: ?('auto' | 'resize' | 'scale'),
resizeMode?: ?('cover' | 'contain' | 'stretch' | 'repeat' | 'center'),
source?: ?ImageSource,
style?: typeof ImageStylePropTypes,
style?: ImageStyleProp,
testID?: ?string,
// ios