Fixed test CRMNowThumbnailCache-test.js
Reviewed By: matryoshcow Differential Revision: D3662150 fbshipit-source-id: 29cb7ee52ba8dc67ecf2214ff92b2f97711debf0
This commit is contained in:
parent
1f603ffca9
commit
8419faa365
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue