define([], function() { return "import * as React from 'react';\n\nexport interface IImageProps extends React.HTMLProps<HTMLImageElement>  {\n  /**\n   * If true, adds the css class 'is-fadeIn' to the image.\n   */\n  shouldFadeIn?: boolean;\n\n  /**\n   * If provided, adds the indicated css class to the image.\n   */\n  className?: string;\n\n  /**\n   * Used to determine how to size the image to fit the dimensions of the component.\n   *\n   * @default If both dimensions are provided, then the image is fit using ImageFit.scale. Otherwise, the image won't be scaled or cropped.\n   */\n  imageFit?: ImageFit;\n\n  /**\n   * Image source to display if an error occurs loading the image indicated by src.\n   */\n  errorSrc?: string;\n}\n\n/**\n * The possible methods that can be used to fit the image.\n */\nexport enum ImageFit {\n  /**\n   * The image is not scaled. The image is centered and cropped within the content box.\n   */\n  center,\n\n  /**\n   * The image is scaled to maintain its aspect ratio while filling the frame. Portions of the image will be cropped from the top and bottom, or from the sides, depending on the difference in aspect ratio between the image and the frame.\n   */\n  cover,\n\n  /**\n   * The image is scaled to fit the frame. If the aspect ratios of the two differ, the image will appear stretched in one dimension.\n   */\n  scale,\n\n  /**\n   * Neither the image nor the frame are scaled. If their sizes do not match, the image will either be cropped or the frame will have empty space.\n   */\n  none\n}\n"; });