Explore the API reference for the React Toast component and discover how to effectively utilize its props for customization.
On this page
CToast
import { CToast } from '@coreui/react-pro' CToastHeader
import { CToastHeader } from '@coreui/react-pro' | Property | Default | Type |
|---|---|---|
| className | - | string, undefined |
A string of all className you want applied to the base component. | ||
| closeButton | - | boolean, undefined |
Automatically add a close button to the header. | ||
CToastBody
import { CToastBody } from '@coreui/react-pro' | Property | Default | Type |
|---|---|---|
| className | - | string, undefined |
A string of all className you want applied to the base component. | ||
CToastClose
import { CToastClose } from '@coreui/react-pro' CToaster
import { CToaster } from '@coreui/react-pro'