Props
Attributes
- Graph
-
- Supertypes
-
trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The color of the component. Unless provided, the value is taken from the severity
prop. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
The color of the component. Unless provided, the value is taken from the severity
prop. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
color.type
Override the icon displayed before the children. Unless provided, the icon is mapped to the value of the severity
prop. Set to false
to remove the icon
.
Override the icon displayed before the children. Unless provided, the icon is mapped to the value of the severity
prop. Set to false
to remove the icon
.
Attributes
- Supertypes
-
class Prop[Boolean | VdomNode]class Objecttrait Matchableclass Any
- Self type
-
icon.type
Value members
Concrete methods
The action to display. It renders after the message, at the end of the alert.
The action to display. It renders after the message, at the end of the alert.
Attributes
The content of the component.
The content of the component.
Attributes
Override or extend the styles applied to the component.
Override or extend the styles applied to the component.
Attributes
Override the default label for the close popup icon button.
Override the default label for the close popup icon button.
For localization purposes, you can use the provided translations.
Attributes
The components used for each slot inside.
The components used for each slot inside.
This prop is an alias for the slots
prop. It's recommended to use the slots
prop instead.
Attributes
The extra props for the slot components. You can override the existing props or add new ones.
The extra props for the slot components. You can override the existing props or add new ones.
This prop is an alias for the slotProps
prop. It's recommended to use the slotProps
prop instead, as componentsProps
will be deprecated in the future.
Attributes
The component maps the severity
prop to a range of different icons, for instance success to <SuccessOutlined>
. If you wish to change this mapping, you can provide your own. Alternatively, you can use the icon
prop to override the icon displayed.
The component maps the severity
prop to a range of different icons, for instance success to <SuccessOutlined>
. If you wish to change this mapping, you can provide your own. Alternatively, you can use the icon
prop to override the icon displayed.
Attributes
Callback fired when the component requests to be closed. When provided and no action
prop is set, a close icon button is displayed that triggers the callback when clicked.
Callback fired when the component requests to be closed. When provided and no action
prop is set, a close icon button is displayed that triggers the callback when clicked.
Value parameters
- {React.SyntheticEvent}
-
event The event source of the callback.
Attributes
The ARIA role attribute of the element.
The ARIA role attribute of the element.
Attributes
The extra props for the slot components. You can override the existing props or add new ones.
The extra props for the slot components. You can override the existing props or add new ones.
This prop is an alias for the componentsProps
prop, which will be deprecated in the future.
Attributes
The components used for each slot inside.
The components used for each slot inside.
This prop is an alias for the components
prop, which will be deprecated in the future.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes