Explore the API reference for the React Modal component and discover how to effectively utilize its props for customization.
On this page
CModal
import { CModal } from '@coreui/react-pro' CModalBody
import { CModalBody } from '@coreui/react-pro' | Property | Default | Type |
|---|---|---|
| className | - | string, undefined |
A string of all className you want applied to the base component. | ||
CModalFooter
import { CModalFooter } from '@coreui/react-pro' | Property | Default | Type |
|---|---|---|
| className | - | string, undefined |
A string of all className you want applied to the base component. | ||
CModalHeader
import { CModalHeader } from '@coreui/react-pro' | Property | Default | Type |
|---|---|---|
| className | - | string, undefined |
A string of all className you want applied to the base component. | ||
| closeButton | true | boolean, undefined |
Add a close button component to the header. | ||
CModalTitle
import { CModalTitle } from '@coreui/react-pro'