Skip to main content
function IconExclamationTriangle(props: Omit<SVGProps<SVGSVGElement>, "viewBox">): Element;
Exclamation Triangle icon component.

Parameters

ParameterTypeDescription
propsOmit<SVGProps<SVGSVGElement>, "viewBox">The props for the icon.

Returns

Element The Exclamation Triangle icon.

Example

// Icon is correctly hidden from screen readers
<p>
  <IconExclamationTriangle />
  Warning!
</p>

// Icon with screen-reader accessible label only
<p>
  <IconExclamationTriangle aria-label="Warning" />
</p>