import * as React from 'react'; import { Image, IImageProps, ImageFit } from 'office-ui-fabric-react/lib/Image'; import { Label } from 'office-ui-fabric-react/lib/Label'; export const ImageNoneExample = () => { const imageProps: IImageProps = { src: 'http://placehold.it/500x250', imageFit: ImageFit.none, width: 350, height: 150, }; return (

By setting the imageFit property to "none", the image will remain at its natural size, even if the frame is made larger or smaller by setting the width and height props.

Example of the image fit value "none" on an image larger than the frame.
Example of the image fit value "none" on an image smaller than the frame.
); };