UNPKG

955 BTypeScriptView Raw
1import * as React from 'react';
2import PropTypes from 'prop-types';
3import { BsPrefixOnlyProps } from './helpers';
4export interface ImageProps extends BsPrefixOnlyProps, React.ImgHTMLAttributes<HTMLImageElement> {
5 fluid?: boolean;
6 rounded?: boolean;
7 roundedCircle?: boolean;
8 thumbnail?: boolean;
9}
10export declare const propTypes: {
11 /**
12 * @default 'img'
13 */
14 bsPrefix: PropTypes.Requireable<string>;
15 /**
16 * Sets image as fluid image.
17 */
18 fluid: PropTypes.Requireable<boolean>;
19 /**
20 * Sets image shape as rounded.
21 */
22 rounded: PropTypes.Requireable<boolean>;
23 /**
24 * Sets image shape as circle.
25 */
26 roundedCircle: PropTypes.Requireable<boolean>;
27 /**
28 * Sets image shape as thumbnail.
29 */
30 thumbnail: PropTypes.Requireable<boolean>;
31};
32declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
33export default Image;