Images
Shape
Use the rounded
, roundedCircle
and thumbnail
props to customise the image.
Fluid
Use the fluid
to scale image nicely to the parent element.
API
Imageview source file
import Image from 'react-bootstrap/Image'
Copy import code for the Image componentName | Type | Default | Description |
---|---|---|---|
fluid | boolean | false | Sets image as fluid image. |
rounded | boolean | false | Sets image shape as rounded. |
roundedCircle | boolean | false | Sets image shape as circle. |
thumbnail | boolean | false | Sets image shape as thumbnail. |
bsPrefix | string | 'img' | Change the underlying component CSS base class name and modifier class names prefix. This is an escape hatch for working with heavily customized bootstrap css. |