Callout
A callout component to highlight important information.
Callouts (also known as admonitions) are used to highlight a block of text. There are five types of callouts available: 'note'
, 'warning'
, 'danger'
, 'tip'
, and 'success'
.
You can override the default icon for the callout by passing a component via the icon
prop.
Usage
Examples
Warning
Warning
This is an example of a warning callout.
Note
Note
This is an example of a note callout.
Danger
Danger
This is an example of a danger callout.
Tip
Tip
This is an example of a tip callout.
Success
Success
This is an example of a success callout.
Custom Icon
Note
This is an example of a note callout with a custom icon.
Custom Title
Tread carefully
This is an example of a warning callout with a custom title.