The CALLOUT
component is used to draw attention to specific pieces of information, often used to highlight important notes, warnings, or additional tips within content. This component helps make these segments stand out visually, enhancing content comprehension and engagement.
import React from 'react';
import { CALLOUT } from '~/ui/components/Text';
export default function App() {
return (
<div>
<CALLOUT>This is a callout to highlight an important aspect of the discussion.</CALLOUT>
</div>
);
}
This is a callout to highlight an important aspect of the discussion.
The CALLOUT
component accepts all standard HTML text attributes, enabling customization to suit various messaging needs within content.