You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
955 B
34 lines
955 B
import * as React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { BsPrefixOnlyProps } from './helpers';
|
|
export interface ImageProps extends BsPrefixOnlyProps, React.ImgHTMLAttributes<HTMLImageElement> {
|
|
fluid?: boolean;
|
|
rounded?: boolean;
|
|
roundedCircle?: boolean;
|
|
thumbnail?: boolean;
|
|
}
|
|
export declare const propTypes: {
|
|
/**
|
|
* @default 'img'
|
|
*/
|
|
bsPrefix: PropTypes.Requireable<string>;
|
|
/**
|
|
* Sets image as fluid image.
|
|
*/
|
|
fluid: PropTypes.Requireable<boolean>;
|
|
/**
|
|
* Sets image shape as rounded.
|
|
*/
|
|
rounded: PropTypes.Requireable<boolean>;
|
|
/**
|
|
* Sets image shape as circle.
|
|
*/
|
|
roundedCircle: PropTypes.Requireable<boolean>;
|
|
/**
|
|
* Sets image shape as thumbnail.
|
|
*/
|
|
thumbnail: PropTypes.Requireable<boolean>;
|
|
};
|
|
declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
export default Image;
|