Skip to content

Commit

Permalink
Addressing Issue microsoft#4174 - 5.59.0 crashing in <ImageBase> (mic…
Browse files Browse the repository at this point in the history
…rosoft#4185)

* commented out @Customizable decorator in Image.base

* rush change
  • Loading branch information
Brian Garland authored and Chris Mohr committed Apr 17, 2018
1 parent ab955b2 commit 7abf17e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Temporarily commented out @customizable decorator in Image component to restore usage of static functions and variables.",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "v-brgarl@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
autobind,
BaseComponent,
classNamesFunction,
customizable,
// customizable,
getNativeProps,
imageProperties
} from '../../Utilities';
Expand All @@ -26,7 +26,7 @@ export interface IImageState {

const KEY_PREFIX = 'fabricImage';

@customizable('Image', ['theme'])
// @customizable('Image', ['theme'])
export class ImageBase extends BaseComponent<IImageProps, IImageState> {
public static defaultProps = {
shouldFadeIn: true
Expand Down

0 comments on commit 7abf17e

Please sign in to comment.