A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://coreui.io/react/docs/components/alert/api/ below:

React Alert Component API - CoreUI

CAlert#

import { CAlert } from '@coreui/react'

import CAlert from '@coreui/react/src/components/alert/CAlert'

Property Default Type className# - string

A string of all className you want applied to the component.

color# primary 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string

Sets the color context of the component to one of CoreUI’s themed colors.

dismissible# - boolean

Optionally add a close button to alert and allow it to self dismiss.

onClose# - () => void

Callback fired when the component requests to be closed.

variant# - string

Set the alert variant to a solid.

visible# true boolean

Toggle the visibility of component.

CAlertHeading#

import { CAlertHeading } from '@coreui/react'

import CAlertHeading from '@coreui/react/src/components/alert/CAlertHeading'

Property Default Type as# h4 (ElementType & 'symbol'), (ElementType & 'object'), (ElementType & 'h4'), (ElementType & 'slot'), (ElementType & 'style'), ... 174 more ..., (ElementType & FunctionComponent<...>)

Component used for the root node. Either a string to use a HTML element or a component.

className# - string

A string of all className you want applied to the base component.

CAlertLink#

import { CAlertLink } from '@coreui/react'

import CAlertLink from '@coreui/react/src/components/alert/CAlertLink'

Property Default Type className# - string

A string of all className you want applied to the base component.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4