CDP Frontend SDK
    Preparing search index...

    Function IconExclamationTriangle

    • Exclamation Triangle icon component.

      Parameters

      • props: Omit<SVGProps<SVGSVGElement>, "viewBox">

        The props for the icon.

      Returns Element

      The Exclamation Triangle icon.

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

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