Fixed test CRMNowThumbnailCache-test.js

Reviewed By: matryoshcow

Differential Revision: D3662150

fbshipit-source-id: 29cb7ee52ba8dc67ecf2214ff92b2f97711debf0
This commit is contained in:
Konstantin Raev 2016-08-03 06:10:27 -07:00 committed by Facebook Github Bot 7
parent 1f603ffca9
commit 8419faa365
1 changed files with 4 additions and 0 deletions

View File

@ -9,10 +9,14 @@
*/
'use strict';
const ImageResizeMode = require('ImageResizeMode');
const React = require('React');
const {Component} = React;
class Image extends Component {
static get resizeMode() {
return ImageResizeMode;
}
render() {
const {children, ...props} = this.props;
return React.createElement('Image', props, children);