React Image Component API
Image API
Explore the API reference for the React Image component and discover how to effectively utilize its props for customization.
CImage
import { CImage } from '@coreui/react'
| Property | Default | Type |
|---|
| align | - | 'start', 'center', 'end' |
Set the horizontal aligment. |
| className | - | string |
A string of all className you want applied to the component. |
| fluid | - | boolean |
Make image responsive. |
| rounded | - | boolean |
Make image rounded. |
| thumbnail | - | boolean |
Give an image a rounded 1px border appearance. |